Execute currency conversions between your accounts holding different currencies. The conversion API supports fiat-to-fiat, fiat-to-crypto, crypto-to-fiat, and crypto-to-crypto conversions.
Conversion Flow:
- Get Quote: Request a conversion quote via
POST /conversions/quotes - Execute Conversion: Use the
quoteIdto execute the conversion, or provide account details directly
Quotes are valid for a limited time (indicated in the response) and lock in the exchange rate.
Instruction Type:
Both quote and conversion endpoints accept an optional instructionType parameter:
sell(default): Theamountrepresents how much of the source currency you want to sellbuy: Theamountrepresents how much of the destination currency you want to buy