Skip to main content
POST
Master Wallet Get Quote

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

Wallet identifier.

Body

application/json
assetId
string<uuid>
required

Stablecoin asset identifier.

Example:

"ae455f23-3824-4125-baab-d158315cbcbd"

amount
string
required

Amount as a decimal string. Interpreted as the stablecoin amount to send or the fiat amount to deliver, depending on amountSide.

Pattern: ^\d+(\.\d+)?$
Example:

"100.00"

currency
string
required

ISO 4217 payout currency.

Required string length: 3
Example:

"NGN"

paymentMethod
string
required

Payment-method id returned by discovery.

Example:

"bank_transfer"

amountSide
enum<string>
default:source

Which side of the conversion amount refers to. source (default) fixes the stablecoin amount you send; target fixes the fiat amount the recipient receives — the stablecoin debit is derived from the quoted rate and rounded up to the asset's decimal precision so the recipient receives the full fiat amount. Available on v2 endpoints only.

Available options:
source,
target
Example:

"source"

paymentMethodData
object

Values validated against the payment-method requirements schema.

Example:
isGaslessWithdraw
boolean

Whether Blockradar should sponsor the on-chain gas where supported.

Example:

false

provider
string

Optional provider slug. Omit for automatic routing.

Example:

"example-provider"

Response

200 - application/json

Successful response.

statusCode
integer
required
Example:

200

message
string
required

Human-readable result.

Example:

"Withdrawal quote fetched successfully"

data
object
required