Create an FX quote
Returns a foreign exchange rate quote for a given currency pair and amount.
The quote includes a quote_id and an expiry time. Use the quote_id when
submitting a transfer to lock in the quoted rate.
The Idempotency-Key header is required; requests without it are rejected.
Body Params
from_currencystringrequiredSource currency code (ISO 4217).
to_currencystringrequiredTarget currency code (ISO 4217).
amountnumberrequiredAmount in the source currency to convert. Must be greater than zero.
directionstringrequiredAllowed:Direction of the trade.
BUYSELL
Headers
Idempotency-KeystringrequiredA unique key to prevent duplicate requests. Required on all FX write operations; requests without it are rejected with a
400.