v1
latestOpenAPI 3.0.12026-07-2679100267.2 KBTransfer funds between your own accounts in different currencies.
post/v1/global-payout/exchange/authorize
Headers
Authorizationstring required
Example:Bearer <token>
Bearer token for authentication.
accountIdstring required
Example:890022ce-bae0-45c1-9b9d-ee7872e6ca27
The parent accountId of the business.
Request body
Example request
{
"amount": 1,
"sourceCurrency": "USD",
"destinationCurrency": "CDF",
"senderName": "John Doe",
"receiverName": "John Doe",
"sourceCountryIsoCode": "CD",
"destinationCountryIsoCode": "CD",
"narration": "Transfer between my accounts",
"lockedExchangeRateId": "01kkk4b7rh8pcvtw1s1nxs144s"
}Response
Exchange authorized successfully.
Example response
{
"code": "00",
"description": "Successful",
"data": {
"wtTransactionId": "01kkk8cjk0fpw9jx2n01wd8yfw",
"coreTransactionId": "API-P2P-CB9EC-0c2d962e-4730-48e7-b522-d65cac511549",
"status": "PROCESSING",
"coreStatus": "SUCCESS",
"type": "EXCHANGE"
}
}