API product catalogSub-Accounts & White-Label Retail KYC
Quote an explicit wallet currency conversion
Sub-Accounts & White-Label Retail KYC
POST
/fx/quote
Quote an explicit wallet currency conversion
Sandbox available
createMasterCurrencyQuoteRequires an Idempotency-Key and an active approved partner organization. Sandbox conversion is virtual. Live requires verified identity, approved currencies, traceable funding origin and operational acceptance. Quotes use shared managed rates, fee policy and 60-second expiry. Confirmation consumes a quote atomically; it never spends indicative display equivalents. Historical untraceable balances are not automatically eligible.
Parameters
This endpoint has no path or query parameters.
Headers
AuthorizationstringRequiredBearer sk_sandbox_<your_key> for sandbox requests.
Idempotency-KeystringheaderRequiredRequest body
fromCurrencystringRequiredExample: "KES"
toCurrencystringRequiredExample: "USD"
amountnumberRequiredExample: 65000
Response fields
quoteIdstringconversionIdstringfromCurrencystringtoCurrencystringsourceAmountnumbertargetAmountnumberfeeAmountnumberfeeCurrencystringfeePercentnumberratenumberrateConventionstringexpiresAtstringsourcestringrateAsOfstring | nullsimulationOnlybooleanstatusCOMPLETEDsourceBalancenumbertargetBalancenumberResponse codes
200Authoritative managed FX terms or completed conversion receipt. See the FX model guide for field meanings.400Invalid parameters or missing idempotency key403Currency404Account or quote not found409Expired or consumed quote