跳转到主要内容
POST
Child Address Get Quote
有关客户身份、会话绑定、审核恢复与费用,请参阅 客户法币流程.

授权

x-api-key
string
header
必填

路径参数

walletId
string<uuid>
必填

Wallet identifier.

addressId
string<uuid>
必填

Child address identifier.

请求体

application/json

Supply sessionId, or all original routing fields. Repeated fields must match the session. Customer identity is inherited from the session.

sessionId
string<uuid>
必填

Session ID returned by the v2 rates endpoint.

paymentMethod
string
必填

Payment-method id returned by discovery.

示例:

"bank_transfer"

customerId
string<uuid>

ID of an existing active customer owned by the authenticated business.

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

source fixes the total source-asset budget, with fees allocated inside it; target fixes the fiat payout before beneficiary deductions and derives the required source debit.

可用选项:
source,
target
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"

resolvedPaymentMethod
object

Completed payment-method resolution, including the provider resolutionId. Required when the provider returned a resolution session. Complete every nextStep before quoting or executing.

响应

Created successfully.

message
string
必填

Human-readable result.

示例:

"Withdrawal quote fetched successfully"

data
object
必填
status
boolean
必填
示例:

true