跳转到主要内容
POST
Master Wallet Create Payment Order
请将根据报价的要求 schema 填写完成的对象作为 additionalData 发送。使用会话时,订单会继承报价中提供的 customerId。如果提供方要求内联 KYC,请将其包含在 additionalData 中;Blockradar 会将其保存,供同一业务客户、提供方和走廊复用。
有关客户身份、会话绑定、审核恢复与费用,请参阅 客户法币流程.

授权

x-api-key
string
header
必填

路径参数

id
string<uuid>
必填

Wallet identifier.

请求体

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>
必填

Session ID returned by the deposit quote. Recommended instead of resending routing fields.

amountSide
enum<string>
默认值:target

source fixes the total fiat payable; target fixes the crypto amount to settle. Defaults to target.

可用选项:
source,
target
currency
string
已弃用

ISO 4217 fiat currency paid by the customer.

Required string length: 3
示例:

"NGN"

assetId
string<uuid>
已弃用

Stablecoin asset to settle.

示例:

"ae455f23-3824-4125-baab-d158315cbcbd"

amount
string
已弃用

Stablecoin amount to receive, encoded as a decimal string.

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

"100.00"

rail
enum<string>
已弃用

Collection method. Use one of the rails returned by the rails endpoint.

可用选项:
one_time_virtual_account,
payment_link,
qr_code
reference
string

Unique client reference used for reconciliation and safe retries.

Maximum string length: 250
示例:

"dep_20260719_001"

validityTimeMinutes
number

Time before the payment instructions expire.

必填范围: 30 <= x <= 1440
示例:

30

code
string
passkeyResponse
object
customerId
string<uuid>

Optional existing active customer owned by the authenticated business. Omit for the business-owned flow. Start a new session to change customer identity.

customer
object

Optional payer contact details (name/email/phone); not a substitute for customerId and provider customer onboarding.

additionalData
object

Values collected from the quote requirements schema.

示例:
metadata
object

Your application metadata returned with the order.

示例:
provider
string
已弃用

Optional provider slug. Omit for automatic routing.

示例:

"example-provider"

响应

Successful response.

message
string
必填

Human-readable result.

示例:

"Payment order created successfully"

data
object
必填
status
boolean
必填
示例:

true