Create a Quote

Generate a single-use, time-limited FX quote for a supported B2B product type (currently swap).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Lock a rate and receiver amount for one swap. The quote can be shown to a customer before funds move.

Build the request

Send type: "swap", a positive senderAmount, and both currencies. Select the country for each XOF leg. To move XOF between Benin and Senegal, for example, use senderCountry: "BJ" and receiverCountry: "SN". Currency and country codes

Use the quote

On 201 CreatedUse it to
data.idIdentify the quote. Send this value as quoteId when creating the swap.
data.exchangeRate, data.receiverAmountShow the rate and the amount the destination ledger will receive.
data.expiresAtSet the confirmation deadline using the returned Unix timestamp in milliseconds.

Production access. An onboarded, approved account with Swaps enabled can create quotes from an allowed IP. In sandbox, use POST /api/sandbox/b2b/quotes with a sandbox bearer token.

Execute the quoted swap · Check a quote’s status

Body Params
string
enum
required

Product type for this quote.

Allowed:
number
required

Amount to convert from the source balance ledger.

string
required
^[A-Z]{3,10}$

Supported fiat market code (e.g. USD, KES, NGN, GHS, TZS, UGX, ZAR, XAF, XOF) or supported crypto (USDC/USDT).

string
^[A-Z]{2}$

Optional 2-letter ISO country code for senderCurrency. Required for XOF (BJ, BF, SN, CI, ML, or TG), which has no default country. Optional for markets with a default country (for example, USD defaults to US and also accepts ZW/LR/CD; XAF defaults to CM and also accepts CG). Omit for crypto assets (USDC/USDT).

string
required
^[A-Z]{3,10}$

Supported fiat market code (e.g. USD, KES, NGN, GHS, TZS, UGX, ZAR, XAF, XOF) or supported crypto (USDC/USDT).

string
^[A-Z]{2}$

Optional 2-letter ISO country code for receiverCurrency. Required for XOF (BJ, BF, SN, CI, ML, or TG), which has no default country. Optional for markets with a default country (for example, USD defaults to US and also accepts ZW/LR/CD; XAF defaults to CM and also accepts CG). Omit for crypto assets (USDC/USDT).

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json