v1
latestOpenAPI 3.1.02026-07-26290133.2 KBCreate Exchange Payout
Create a new exchange transaction as well as payout to an external account using a single API. The beneficiary may be created using this endpoint on the fly or an existing one can be used.
post/transactions/exchangePayout
Headers
idempotency-keystring
Optional header for retrying requests without accidentally creating the same transaction twice.
Request body
Response
200
Example response
{
"transactionId": "b314a24d-75cf-4c4d-bbc9-a8e65cae122f",
"shortId": "20230516-VNRREK",
"reference": "ref",
"paymentType": "ACH",
"reasonCode": "PERSONAL",
"amount": {
"value": 2.2,
"currency": "CAD"
},
"beneficiary": {
"customerType": "CORPORATE",
"companyName": "CAD account",
"beneficiaryCountry": "CA",
"beneficiaryPostalCode": "1000",
"beneficiaryCity": "OTTAWA",
"beneficiaryAddressLine": "USA LINE 1",
"bankAccountCountry": "CA",
"bankAccountHolderName": "CAD account",
"accountNumber": "336558808224",
"routingCodes": {
"CTN": "017700000"
}
},
"status": "IN_PROGRESS"
}