Saltar para o conteúdo principal
POST
Resolve Payment Method Requirements
Envie sessionId, paymentMethod e o paymentMethodData coletado conforme o schema de requisitos. Se os requisitos incluírem um contrato resolution, use seus campos method, url, body e inputPath. Quando status for requires_action, renderize nextStep.schema e envie continuation com o resolutionId retornado, nextStep.id como stepId e os dados solicitados. Repita até que status seja resolved. A sessão salva o formulário e a resolução concluídos. Se os dados do beneficiário mudarem, resolva o método novamente. Em seguida, solicite uma cotação.

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