Saltar para o conteúdo principal
POST
Resolve Payment Method Requirements
Recomendamos usar o sessionId retornado pelo endpoint de taxas v2 em todo o fluxo: descoberta de métodos de pagamento, resolução de requisitos, cotação e execução. Ele é opcional; se você omiti-lo, envie os campos originais (ativo, moeda, valor, amountSide e roteamento do provedor). Quando a resposta de requisitos incluir um contrato resolution de nível superior, envie os valores do formulário usando seus campos method, url, body e inputPath, em vez de reconstruir os campos de roteamento do provedor no cliente. A resposta preserva o ID da sessão e sua expiração. Se a sessão expirar ou a rota do provedor ficar indisponível, solicite uma nova taxa e recomece o fluxo.
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

id
string<uuid>
obrigatório

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

Exemplo:

"bank_transfer"

paymentMethodData
object
obrigatório

Current form values required by the x-resolution request.

Exemplo:
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"

currency
string
obsoleto

ISO 4217 payout currency.

Required string length: 3
Exemplo:

"NGN"

amount
string
obsoleto

Withdrawal amount as a decimal string.

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

"100.00"

provider
string
obsoleto

Provider slug selected earlier in the flow.

Exemplo:

"example-provider"

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
continuation
object

Submit only after requires_action. Keep the original paymentMethodData unchanged.

Resposta

Successful response.

message
string
obrigatório

Human-readable result.

Exemplo:

"Payment method resolved successfully"

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

true