Skip to main content
Preview a currency swap. Returns the live rate and resulting amount without committing any funds. Use this to show customers a confirmation screen before calling /swap/process.
Requires Idempotency-Key header. The rate shown here is indicative — it is fetched live again at execution time. Execute /swap/process promptly after previewing.
string
required
The source wallet currency code (ISO 4217), e.g. "USD", "EUR".
string
required
The target wallet currency code (ISO 4217), e.g. "BRL", "MXN".
number
required
Amount in the source currency to convert.