Create a quote
Mints a single-use held quote for the requested currency pair. intent selects the action: ‘payout’ prices a held cross-rate / USD-source / same-currency quote (the corridor picks the engine), and ‘convert’ prices an in-wallet conversion between the caller’s own balances (specifying the source amount to convert). The quote prices FX + markup only and locks the rate until it is consumed by the matching executor or expires; a payout’s fixed fee and payment rail are applied at payout creation, not here. Both intents return the same QuoteResponseDto, always carrying a rate (1 for a same-currency or stablecoin-par quote).
Authorizations
Enter Auth0 JWT token
Headers
Client-generated idempotency key
Body
The intent field discriminates the body: a payout quote requires targetAmount; a convert quote requires amount. The runtime body is a single CreateQuoteDto validated per-intent.
- Option 1
- Option 2
- Option 3
Source currency (debited from the client)
"NGN"
Must be 'payout' for this variant.
payout "payout"
Amount the beneficiary receives, in toCurrency (required).
"100"
Target currency (received by the beneficiary)
"GBP"
Response
The minted quote. Both intents return the same shape.
Quote expiry timestamp (ISO 8601)
"2026-04-13T12:00:30Z"
Source currency (debited from the caller)
"NGN"
Quote identifier
"uuid-here"
All-in rate: fromCurrency per 1 toCurrency. Always present; a same-currency or stablecoin-par quote (no FX leg) reports "1.00000000".
"2524.47560000"
Amount received in toCurrency
"100"
Target currency (received by the beneficiary, or credited to the caller's own balance for a convert quote)
"GBP"
Total amount debited from the caller in fromCurrency. The quote prices FX + markup only, so this is the FX base; a payout's fixed fee is added at payout creation.
"252447.5600"
Quote status (only included on GET)
active, used, expired