Passer au contenu principal
POST
Child Address Get Quote
Pour l’identité, les sessions, la reprise et les frais, consultez Flux fiat pour les clients.

Autorisations

x-api-key
string
header
requis

Paramètres de chemin

walletId
string<uuid>
requis

Wallet identifier.

addressId
string<uuid>
requis

Child address identifier.

Corps

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>
requis

Session ID returned by the v2 rates endpoint.

paymentMethod
string
requis

Payment-method id returned by discovery.

Exemple:

"bank_transfer"

customerId
string<uuid>

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

assetId
string<uuid>
obsolète

Stablecoin asset identifier.

Exemple:

"ae455f23-3824-4125-baab-d158315cbcbd"

amount
string
obsolète

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

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

"100.00"

amountSide
enum<string>
défaut: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.

Options disponibles:
source,
target
currency
string
obsolète

ISO 4217 payout currency.

Required string length: 3
Exemple:

"NGN"

paymentMethodData
object

Values validated against the payment-method requirements schema.

Exemple:
isGaslessWithdraw
boolean

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

Exemple:

false

provider
string
obsolète

Optional provider slug. Omit for automatic routing.

Exemple:

"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.

Réponse

Created successfully.

message
string
requis

Human-readable result.

Exemple:

"Withdrawal quote fetched successfully"

data
object
requis
status
boolean
requis
Exemple:

true