POST /v1/recharge-payments/checkouts
为已认证租户充值订单创建签名收银台
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Request-ID | header | string | Yes | — |
Idempotency-Key | header | string | Yes | — |
Request body
application/json · Required:Yes
| Name | Type | Required | Description |
|---|---|---|---|
order_id | string(uuid) | Yes | — |
provider | string: alipay / wechat / usdt | Yes | — |
network | string: tron / bsc / polygon / ethereum | No | USDT only; omitted uses the first offered network (TRC20 when offered). |
expected_revision | integer(int64) | Yes | — |
Responses
| Status | Description |
|---|---|
201 | 新建或精确幂等重放;不返回原始签名载荷 Fields: |
400 | 稳定错误码;message 禁止直接展示给用户 |
401 | 稳定错误码;message 禁止直接展示给用户 |
403 | 稳定错误码;message 禁止直接展示给用户 |
409 | 稳定错误码;message 禁止直接展示给用户 |
503 | 渠道不可用或结果不确定;调用方不得自行推断支付结果 |
What to do on failure
400Fix the parameters or body per the field list; do not retry unchanged.401Check the credential format and whether it expired or was rotated.403Check the key scopes, the owner’s current permissions and the tenant scope; never switch to a more privileged account.409Read the current state first; a retry of the same operation keeps the original Idempotency-Key and body.503A dependency is unavailable: retry later with the original Idempotency-Key.