Convert Money
POST /v1/global-payout/money/convert
When moving funds across currencies, ConvertMoney handles the conversion for you. Call this endpoint whenever a transaction requires a currency switch, and it will return the converted amount and a locked exchange rate ID to use when authorizing the transfer.
Request body
The amount to convert in the source currency.
The ISO 4217 currency code of the source amount (e.g.,
USD).The ISO 4217 currency code to convert into (e.g.,
EUR).The type of transaction. Use
EXCHANGE for currency conversions.ISO 3166-1 alpha-2 country code of the sender (e.g.,
NG).Response body
The original amount in the source currency.
The source currency code.
The source amount formatted as a display string (e.g.,
$15.00).The converted amount in the destination currency.
The destination currency code.
The destination amount formatted as a display string.
The spread amount applied to the conversion.
The currency the spread is denominated in.
A locked exchange rate ID. Pass this when authorizing the transfer to guarantee the quoted rate.
The currency pair notation (e.g.,
EUR/USD).Any applicable transaction fee.
The currency the fee is charged in.