POST /v1/global-payout/exchange/authorize
Changed onTransfer funds between your own accounts in different currencies.
Request
- Base URLhttps://api.nomba.com
- URLhttps://api.nomba.com/v1/global-payout/exchange/authorize
- Authnone declared. Required headers: Authorization, accountId
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",
"idempotencyKey": "5e246f9a-3e79-4b11-92f1-dbd98b53b308"
}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",
"idempotencyKey": "5e246f9a-3e79-4b11-92f1-dbd98b53b308"
}
}Changes
- info
added the new optional request property
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info