Skip to main content
POST
Get a firm quote

Authorizations

X-API-Key
string
header
required

On the example server, any key that starts with rpk_mock_, e.g. rpk_mock_yourname. Never your real key.

Body

application/json
source_currency
string
required

currency code. Required. What you pay with: USDT.

target_currency
string
required

currency code. Required. What the destination receives: BOB.

target_amount
string

decimal, target's decimals (BOB: ≤ 2). Send this or source_amount. Required for USDT → BOB. The QR's amount — or, for an open-amount QR, the amount the end user typed.

source_amount
string

decimal, source's decimals. Not available yet: 422 SOURCE_AMOUNT_NOT_AVAILABLE. Fixes what you pay instead.

resolution_id
string

qrr_…. The id POST /payouts/qr/resolve answered for this QR. The quote and the payout made at it carry it, so you can follow one payment from the QR read to its outcome. It does not change the price.

Response

Created

id
string
source
object
target
object
rate
string
fee
object
fixed_side
string
resolution_id
string
expires_at
string
created_at
string