curl -X POST "https://{merchant_base_URL}/v1/banking/transfers" \
-H "Content-Type: application/json" \
-d '{
"id": "xfer_cc0e8400-e29b-41d4-a716-446655440000",
"destination_account_id": "acct_aa0e8400-e29b-41d4-a716-446655440000",
"account_id": "550e8400-e29b-41d4-a716-446655440000",
"provider": {
"account_id": "col_bank_account_789",
"transfer_id": "col_incoming_xyz456"
},
"status": "COMPLETED",
"direction": "INCOMING",
"sender": {
"account_number_last_4": "5678",
"routing_number": "987654321",
"account_name": "External Company LLC",
"bank_name": "Bank of America"
},
"amount": {
"value": 2500,
"currency": "USD"
},
"payment_rail": "ACH_STANDARD",
"description": "Payment for services",
"created_at": "2026-02-01T14:30:00Z",
"updated_at": "2026-02-01T14:30:00Z"
}' const response = await fetch ( `https://{merchant_base_URL}/v1/banking/transfers` , {
method: 'POST' ,
headers: { 'Content-Type' : 'application/json' },
body: JSON . stringify ({
"id" : "xfer_cc0e8400-e29b-41d4-a716-446655440000" ,
"destination_account_id" : "acct_aa0e8400-e29b-41d4-a716-446655440000" ,
"account_id" : "550e8400-e29b-41d4-a716-446655440000" ,
"provider" : {
"account_id" : "col_bank_account_789" ,
"transfer_id" : "col_incoming_xyz456"
},
"status" : "COMPLETED" ,
"direction" : "INCOMING" ,
"sender" : {
"account_number_last_4" : "5678" ,
"routing_number" : "987654321" ,
"account_name" : "External Company LLC" ,
"bank_name" : "Bank of America"
},
"amount" : {
"value" : 2500 ,
"currency" : "USD"
},
"payment_rail" : "ACH_STANDARD" ,
"description" : "Payment for services" ,
"created_at" : "2026-02-01T14:30:00Z" ,
"updated_at" : "2026-02-01T14:30:00Z"
})
});
const data = await response. json (); import requests
response = requests.request(
"POST" ,
"https:// {merchant_base_URL} /v1/banking/transfers" ,
json = {
"id" : "xfer_cc0e8400-e29b-41d4-a716-446655440000" ,
"destination_account_id" : "acct_aa0e8400-e29b-41d4-a716-446655440000" ,
"account_id" : "550e8400-e29b-41d4-a716-446655440000" ,
"provider" : {
"account_id" : "col_bank_account_789" ,
"transfer_id" : "col_incoming_xyz456"
},
"status" : "COMPLETED" ,
"direction" : "INCOMING" ,
"sender" : {
"account_number_last_4" : "5678" ,
"routing_number" : "987654321" ,
"account_name" : "External Company LLC" ,
"bank_name" : "Bank of America"
},
"amount" : {
"value" : 2500 ,
"currency" : "USD"
},
"payment_rail" : "ACH_STANDARD" ,
"description" : "Payment for services" ,
"created_at" : "2026-02-01T14:30:00Z" ,
"updated_at" : "2026-02-01T14:30:00Z"
},
)
data = response.json() <? php
$ch = curl_init ();
curl_setopt ($ch, CURLOPT_URL , "https://{merchant_base_URL}/v1/banking/transfers" );
curl_setopt ($ch, CURLOPT_RETURNTRANSFER , true );
curl_setopt ($ch, CURLOPT_CUSTOMREQUEST , "POST" );
curl_setopt ($ch, CURLOPT_HTTPHEADER , [ "Content-Type: application/json" ]);
curl_setopt ($ch, CURLOPT_POSTFIELDS , '{
"id": "xfer_cc0e8400-e29b-41d4-a716-446655440000",
"destination_account_id": "acct_aa0e8400-e29b-41d4-a716-446655440000",
"account_id": "550e8400-e29b-41d4-a716-446655440000",
"provider": {
"account_id": "col_bank_account_789",
"transfer_id": "col_incoming_xyz456"
},
"status": "COMPLETED",
"direction": "INCOMING",
"sender": {
"account_number_last_4": "5678",
"routing_number": "987654321",
"account_name": "External Company LLC",
"bank_name": "Bank of America"
},
"amount": {
"value": 2500,
"currency": "USD"
},
"payment_rail": "ACH_STANDARD",
"description": "Payment for services",
"created_at": "2026-02-01T14:30:00Z",
"updated_at": "2026-02-01T14:30:00Z"
}' );
$response = curl_exec ($ch);
curl_close ($ch); package main
import (
" fmt "
" io "
" net/http "
" strings "
)
func main () {
req, _ := http. NewRequest ( "POST" , "https://{merchant_base_URL}/v1/banking/transfers" , strings. NewReader ( `{
"id": "xfer_cc0e8400-e29b-41d4-a716-446655440000",
"destination_account_id": "acct_aa0e8400-e29b-41d4-a716-446655440000",
"account_id": "550e8400-e29b-41d4-a716-446655440000",
"provider": {
"account_id": "col_bank_account_789",
"transfer_id": "col_incoming_xyz456"
},
"status": "COMPLETED",
"direction": "INCOMING",
"sender": {
"account_number_last_4": "5678",
"routing_number": "987654321",
"account_name": "External Company LLC",
"bank_name": "Bank of America"
},
"amount": {
"value": 2500,
"currency": "USD"
},
"payment_rail": "ACH_STANDARD",
"description": "Payment for services",
"created_at": "2026-02-01T14:30:00Z",
"updated_at": "2026-02-01T14:30:00Z"
}` ))
req.Header. Set ( "Content-Type" , "application/json" )
resp, err := http.DefaultClient. Do (req)
if err != nil {
panic (err)
}
defer resp.Body. Close ()
data, _ := io. ReadAll (resp.Body)
fmt. Println ( string (data))
} HttpClient client = HttpClient. newHttpClient ();
HttpRequest request = HttpRequest. newBuilder ()
. uri (URI. create ( "https://{merchant_base_URL}/v1/banking/transfers" ))
. header ( "Content-Type" , "application/json" )
. method ( "POST" , HttpRequest.BodyPublishers. ofString ( "{ \n \" id \" : \" xfer_cc0e8400-e29b-41d4-a716-446655440000 \" , \n \" destination_account_id \" : \" acct_aa0e8400-e29b-41d4-a716-446655440000 \" , \n \" account_id \" : \" 550e8400-e29b-41d4-a716-446655440000 \" , \n \" provider \" : { \n \" account_id \" : \" col_bank_account_789 \" , \n \" transfer_id \" : \" col_incoming_xyz456 \"\n }, \n \" status \" : \" COMPLETED \" , \n \" direction \" : \" INCOMING \" , \n \" sender \" : { \n \" account_number_last_4 \" : \" 5678 \" , \n \" routing_number \" : \" 987654321 \" , \n \" account_name \" : \" External Company LLC \" , \n \" bank_name \" : \" Bank of America \"\n }, \n \" amount \" : { \n \" value \" : 2500, \n \" currency \" : \" USD \"\n }, \n \" payment_rail \" : \" ACH_STANDARD \" , \n \" description \" : \" Payment for services \" , \n \" created_at \" : \" 2026-02-01T14:30:00Z \" , \n \" updated_at \" : \" 2026-02-01T14:30:00Z \"\n }" ))
. build ();
HttpResponse < String > response = client. send (request, HttpResponse.BodyHandlers. ofString ());
System.out. println (response. body ()); require "net/http"
require "uri"
uri = URI ( "https://{merchant_base_URL}/v1/banking/transfers" )
http = Net :: HTTP . new (uri. host , uri. port )
http. use_ssl = uri. scheme == "https"
request = Net :: HTTP :: Post . new (uri)
request[ "Content-Type" ] = "application/json"
request. body = "{ \n \" id \" : \" xfer_cc0e8400-e29b-41d4-a716-446655440000 \" , \n \" destination_account_id \" : \" acct_aa0e8400-e29b-41d4-a716-446655440000 \" , \n \" account_id \" : \" 550e8400-e29b-41d4-a716-446655440000 \" , \n \" provider \" : { \n \" account_id \" : \" col_bank_account_789 \" , \n \" transfer_id \" : \" col_incoming_xyz456 \"\n }, \n \" status \" : \" COMPLETED \" , \n \" direction \" : \" INCOMING \" , \n \" sender \" : { \n \" account_number_last_4 \" : \" 5678 \" , \n \" routing_number \" : \" 987654321 \" , \n \" account_name \" : \" External Company LLC \" , \n \" bank_name \" : \" Bank of America \"\n }, \n \" amount \" : { \n \" value \" : 2500, \n \" currency \" : \" USD \"\n }, \n \" payment_rail \" : \" ACH_STANDARD \" , \n \" description \" : \" Payment for services \" , \n \" created_at \" : \" 2026-02-01T14:30:00Z \" , \n \" updated_at \" : \" 2026-02-01T14:30:00Z \"\n }"
response = http. request (request)
puts response. body ⧉