Skip to main content
POST
Resolve Payment Method Requirements
我们建议在支付方式发现、要求解析、报价和执行的整个流程中,使用 v2 汇率端点返回的 sessionId。该字段为可选;省略时,请改为发送原始的资产、货币、金额、amountSide 和提供商路由字段。当要求响应包含顶层 resolution 契约时,请使用其 methodurlbodyinputPath 提交表单值,而不要在客户端重新构造提供商路由字段。 响应会保留会话 ID 及其过期时间。如果会话过期或其提供商路由不可用,请重新请求汇率并重新 开始该流程。

授权

x-api-key
string
header
必填

路径参数

id
string<uuid>
必填

Wallet identifier.

请求体

application/json
paymentMethod
string
必填

Payment-method id.

示例:

"bank_transfer"

paymentMethodData
object
必填

Current form values required by the x-resolution request.

示例:
sessionId
string<uuid>

Session ID returned by the v2 rates endpoint.

assetId
string<uuid>
已弃用

Stablecoin asset identifier.

示例:

"ae455f23-3824-4125-baab-d158315cbcbd"

currency
string
已弃用

ISO 4217 payout currency.

Required string length: 3
示例:

"NGN"

amount
string
已弃用

Withdrawal amount as a decimal string.

Pattern: ^\d+(\.\d+)?$
示例:

"100.00"

provider
string
已弃用

Provider slug selected earlier in the flow.

示例:

"example-provider"

响应

200 - application/json

Successful response.

statusCode
integer
必填
示例:

200

message
string
必填

Human-readable result.

示例:

"Payment method resolved successfully"

data
object
必填