Convert
Converts an amount from one currency wallet to another using the platform exchange rate. Completes synchronously — debit and credit post atomically.
Body
customerId
*StringID of the customer.
channel
*StringChannel — use "WALLET".
fromCurrency
*StringCurrency to convert from.
toCurrency
*StringCurrency to convert to.
amount
*NumberAmount in fromCurrency to convert.
fromProvider
StringProvider backing the source wallet. Omit to auto-use the richest wallet that covers the amount.
toProvider
StringProvider backing the target wallet. Omit to reuse fromProvider, falling back to any active wallet in toCurrency.
POST
/ v2/wallet/convert
Endpoint URL(TEXT)
Request Body
Response(JSON)
// Click 'Try now' to see the response