fromCurrency and toCurrency differ on a collection or payout, you need a rateKey. Get one from the quote endpoint.
Response
string
required
Currency you’re converting from.
string
required
Currency you’re converting to.
number
required
Amount in
fromCurrency units to price.string
Optionally pin the quote to a specific rail:
ach, iban, swift, wire, pix, ethereum, bridge_wallet, or nip. Different rails can carry different fees and rates.Using the rateKey
rateKey is an encoded, time-limited token that captures the rate, currency pair, and fee at the moment of the quote. Pass it straight through as rateKey on:
POST /api/deposit— to convert on collection.POST /api/payout— required wheneverfromCurrency !== toCurrency.
Reading the response
rate— the raw exchange rate.roundedRate— the display-friendly rounded rate; show this to customers.fee— the fee charged for the conversion, infromCurrencyunits.toAmount— what the customer receives/what gets paid out, intoCurrencyunits.totalAmount—amount + fee, infromCurrencyunits — what actually gets debited.
Full endpoint reference
See the complete schema and error cases.