Skip to main content
POST
Create a quote

Authorizations

Authorization
string
header
required

Enter Auth0 JWT token

Headers

Idempotency-Key
string

Client-generated idempotency key

Body

application/json

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.

fromCurrency
string
required

Source currency (debited from the client)

Example:

"NGN"

intent
enum<string>
required

Must be 'payout' for this variant.

Available options:
payout
Example:

"payout"

targetAmount
string
required

Amount the beneficiary receives, in toCurrency (required).

Example:

"100"

toCurrency
string
required

Target currency (received by the beneficiary)

Example:

"GBP"

Response

The minted quote. Both intents return the same shape.

expiresAt
string
required

Quote expiry timestamp (ISO 8601)

Example:

"2026-04-13T12:00:30Z"

fromCurrency
string
required

Source currency (debited from the caller)

Example:

"NGN"

id
string
required

Quote identifier

Example:

"uuid-here"

rate
string
required

All-in rate: fromCurrency per 1 toCurrency. Always present; a same-currency or stablecoin-par quote (no FX leg) reports "1.00000000".

Example:

"2524.47560000"

targetAmount
string
required

Amount received in toCurrency

Example:

"100"

toCurrency
string
required

Target currency (received by the beneficiary, or credited to the caller's own balance for a convert quote)

Example:

"GBP"

totalDebitAmount
string
required

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.

Example:

"252447.5600"

status
enum<string>

Quote status (only included on GET)

Available options:
active,
used,
expired