Preview the exchange rate and converted amount before executing a currency swap
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.
POST https://api.yativo.com/api/v1/swap/init
Requires Idempotency-Key header. The rate shown here is indicative — it is fetched live again at execution time. Execute /swap/process promptly after previewing.