Skip to main content
POST
Child Address Get Quote

授权

x-api-key
string
header
必填

路径参数

walletId
string<uuid>
必填

Wallet identifier.

addressId
string<uuid>
必填

Child address identifier.

请求体

application/json
paymentMethod
string
必填

Payment-method id returned by discovery.

示例:

"bank_transfer"

sessionId
string<uuid>

Session ID returned by the v2 rates endpoint.

assetId
string<uuid>
已弃用

Stablecoin asset identifier.

示例:

"ae455f23-3824-4125-baab-d158315cbcbd"

amount
string
已弃用

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

Pattern: ^\d+(\.\d+)?$
示例:

"100.00"

amountSide
enum<string>
默认值: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.

可用选项:
source,
target
示例:

"source"

currency
string
已弃用

ISO 4217 payout currency.

Required string length: 3
示例:

"NGN"

paymentMethodData
object

Values validated against the payment-method requirements schema.

示例:
isGaslessWithdraw
boolean

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

示例:

false

provider
string
已弃用

Optional provider slug. Omit for automatic routing.

示例:

"example-provider"

响应

201 - application/json

Created successfully.

statusCode
integer
必填
示例:

200

message
string
必填

Human-readable result.

示例:

"Withdrawal quote fetched successfully"

data
object
必填