Saltar para o conteúdo principal
POST
Child Address Get Quote
Para identidade, sessões, recuperação e taxas, consulte Fluxos fiat para clientes.

Autorizações

x-api-key
string
header
obrigatório

Parâmetros de caminho

walletId
string<uuid>
obrigatório

Wallet identifier.

addressId
string<uuid>
obrigatório

Child address identifier.

Corpo

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>
obrigatório

Session ID returned by the v2 rates endpoint.

paymentMethod
string
obrigatório

Payment-method id returned by discovery.

Exemplo:

"bank_transfer"

customerId
string<uuid>

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

assetId
string<uuid>
obsoleto

Stablecoin asset identifier.

Exemplo:

"ae455f23-3824-4125-baab-d158315cbcbd"

amount
string
obsoleto

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

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

"100.00"

amountSide
enum<string>
padrão: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.

Opções disponíveis:
source,
target
currency
string
obsoleto

ISO 4217 payout currency.

Required string length: 3
Exemplo:

"NGN"

paymentMethodData
object

Values validated against the payment-method requirements schema.

Exemplo:
isGaslessWithdraw
boolean

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

Exemplo:

false

provider
string
obsoleto

Optional provider slug. Omit for automatic routing.

Exemplo:

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

Resposta

Created successfully.

message
string
obrigatório

Human-readable result.

Exemplo:

"Withdrawal quote fetched successfully"

data
object
obrigatório
status
boolean
obrigatório
Exemplo:

true