curl --request POST \
--url https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotencyKey": "create-key-9f2c1b3a"
}
'import requests
url = "https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit"
payload = { "idempotencyKey": "create-key-9f2c1b3a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({idempotencyKey: 'create-key-9f2c1b3a'})
};
fetch('https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'idempotencyKey' => 'create-key-9f2c1b3a'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit"
payload := strings.NewReader("{\n \"idempotencyKey\": \"create-key-9f2c1b3a\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotencyKey\": \"create-key-9f2c1b3a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"idempotencyKey\": \"create-key-9f2c1b3a\"\n}"
response = http.request(request)
puts response.read_body{
"id": "txnint_01JMERINTENT001",
"type": "TRANSFER",
"createdAt": "2026-04-30T15:00:00Z",
"updatedAt": "2026-04-30T15:02:00Z",
"status": "CREATED",
"debitAmount": "7250.00",
"debitCurrency": "USD",
"debitInstrument": {
"account": {
"id": "acc_01JMEROAK7421",
"displayName": "Oak Street Purchase Contract",
"currency": "USD"
},
"instrumentType": "ACCOUNT"
},
"creditAmount": "7250.00",
"creditCurrency": "USD",
"creditInstrument": {
"account": {
"id": "acc_01JMEROAK7421",
"displayName": "Oak Street Purchase Contract",
"currency": "USD"
},
"instrumentType": "ACCOUNT"
},
"fees": [
{
"type": "PROCESSING",
"label": "Processing fee",
"amount": "1.00",
"currency": "USD"
}
],
"exchangeRate": "1",
"statusReason": "<string>",
"relatedTransactionId": "<string>",
"debitMemo": "INV-23014",
"externalId": "luno-payout-88213",
"purpose": "PAYMENT_FOR_SERVICES",
"creditRail": "ACH"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}Commit a transaction intent
Commits a created transaction intent. Commit is idempotent and creates at most one underlying Meridian transaction.
curl --request POST \
--url https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotencyKey": "create-key-9f2c1b3a"
}
'import requests
url = "https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit"
payload = { "idempotencyKey": "create-key-9f2c1b3a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({idempotencyKey: 'create-key-9f2c1b3a'})
};
fetch('https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'idempotencyKey' => 'create-key-9f2c1b3a'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit"
payload := strings.NewReader("{\n \"idempotencyKey\": \"create-key-9f2c1b3a\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotencyKey\": \"create-key-9f2c1b3a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.va.meridianpay.com/v1/transaction-intents/{transactionIntentId}/commit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"idempotencyKey\": \"create-key-9f2c1b3a\"\n}"
response = http.request(request)
puts response.read_body{
"id": "txnint_01JMERINTENT001",
"type": "TRANSFER",
"createdAt": "2026-04-30T15:00:00Z",
"updatedAt": "2026-04-30T15:02:00Z",
"status": "CREATED",
"debitAmount": "7250.00",
"debitCurrency": "USD",
"debitInstrument": {
"account": {
"id": "acc_01JMEROAK7421",
"displayName": "Oak Street Purchase Contract",
"currency": "USD"
},
"instrumentType": "ACCOUNT"
},
"creditAmount": "7250.00",
"creditCurrency": "USD",
"creditInstrument": {
"account": {
"id": "acc_01JMEROAK7421",
"displayName": "Oak Street Purchase Contract",
"currency": "USD"
},
"instrumentType": "ACCOUNT"
},
"fees": [
{
"type": "PROCESSING",
"label": "Processing fee",
"amount": "1.00",
"currency": "USD"
}
],
"exchangeRate": "1",
"statusReason": "<string>",
"relatedTransactionId": "<string>",
"debitMemo": "INV-23014",
"externalId": "luno-payout-88213",
"purpose": "PAYMENT_FOR_SERVICES",
"creditRail": "ACH"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}{
"message": "<string>",
"validationErrors": [
{
"fieldRef": "<string>",
"type": "InvalidFormat",
"message": "<string>"
}
],
"errorCode": "UNAUTHORIZED"
}Authorizations
Bearer token authentication, for client-server calls.
Send the access token issued by POST /v1/auth/token as Authorization: Bearer {token}. The token carries its own program and user context, so the X-Meridian-* headers are not required. See Authentication.
Headers
Path Parameters
Body
Idempotency key guarding the commit
Idempotency key that guards committing a transaction intent exactly once.
Must equal the idempotencyKey used to create this intent — commit reuses the create key, and a mismatch is rejected with 409 Conflict. Commit is idempotent: repeating it with that key returns the same committed intent and creates at most one transaction.
"create-key-9f2c1b3a"
Response
The committed transaction intent, including the related transaction id when execution was created
A transaction-shaped preview of a movement of funds. No funds move until the intent is committed.
Payment purpose
PAYMENT_FOR_SERVICES, PAYMENT_FOR_SOFTWARE, PAYMENT_FOR_IMPORTED_GOODS, TRAVEL_SERVICES, VENDOR_CONTRACTOR_PAYOUTS, TRANSFER_TO_OWN_ACCOUNT, INVESTMENT_IN_SHARES, PURCHASE_OF_PROPERTY, REPAYMENT_OF_LOANS, SALARY, PAYMENT_OF_PROPERTY_RENTAL, INFORMATION_SERVICE_CHARGES, ADVERTISING_AND_PUBLIC_RELATIONS_EXPENSES, ROYALTY_TRADEMARK_PATENT_AND_COPYRIGHT_FEES, BROKER_FRONTEND_GUARANTEE_AND_CUSTODIAN_FEES, ADVISOR_TECHNICAL_AND_ACADEMIC_FEES, REPRESENTATIVE_OFFICE_EXPENSES, TAX_PAYMENT, TRANSPORTATION_FEES_FOR_GOODS, CONSTRUCTION_COSTS, INSURANCE_PREMIUM, GENERAL_GOODS_TRADES_OFFLINE, INSURANCE_CLAIMS_PAYMENT, FAMILY_MAINTENANCE, EDUCATION_RELATED_EXPENSES, MEDICAL_TREATMENT, DONATIONS, MUTUAL_FUND_INVESTMENT, CURRENCY_EXCHANGE, USER_WITHDRAWAL, ADVANCE_PAYMENTS_FOR_GOODS, VENDOR_CONTRACTOR_PAYOUTS_SOFTWARE_DEVELOPMENT, MERCHANT_SETTLEMENT, REPATRIATION_FUND_SETTLEMENT, PERSONAL_REMITTANCE, RETURN_OF_FUNDS, null