Skip to main content
POST
Quote a conversion

Authorizations

Authorization
string
header
required

Your Jenzy API key: Authorization: Bearer jz_live_…

Body

application/json
from_asset
string
required

An asset code as GET /v2/assets lists it — uppercase, never compound (KES, USDT; never USDT-TRON). Network and rail live on the payment object.

Minimum string length: 1
Example:

"KES"

to_asset
string
required

An asset code as GET /v2/assets lists it — uppercase, never compound (KES, USDT; never USDT-TRON). Network and rail live on the payment object.

Minimum string length: 1
Example:

"USDT"

from_amount
required

Exactly how much of from_asset to convert, at most 4 decimal places. Conversions fix the amount in; to_amount is what you receive.

Example:

"1000.00"

Response

The quote. to_amount is the promise.

quote_id
string<uuid>
required

Pass this to POST /v2/conversions.

from_asset
string
required

An asset code as GET /v2/assets lists it — uppercase, never compound (KES, USDT; never USDT-TRON). Network and rail live on the payment object.

Minimum string length: 1
Example:

"KES"

to_asset
string
required

An asset code as GET /v2/assets lists it — uppercase, never compound (KES, USDT; never USDT-TRON). Network and rail live on the payment object.

Minimum string length: 1
Example:

"USDT"

from_amount
string
required

What you will pay, in from_asset.

Example:

"1000.00"

to_amount
string
required

What you will receive, in to_asset. This is the promise: a conversion delivers exactly this or fails whole.

Example:

"7.68075"

rate
string
required

from_asset per one to_asset, rounded to 8 decimal places for display. Your economics are entirely in this rate; there is no separate fee. Recomputing from_amount ÷ rate may differ from to_amount by one minor unit — to_amount is what counts.

Example:

"130.19561892"

expires_at
string
required

ISO 8601. Execute before this or request a new quote; an expired quote is quote_expired.

Example:

"2026-09-09T10:00:25.000Z"