订单支付
订单支付
Path Parameters
order_id string required
订单号
application/json
Request Body required
- Array [
- Array [
- ]
- ]
order_id string required
订单号
payment_channel enum required
Possible values: [PC_UNSPECIFIED
, PC_BALANCE
, PC_CREDIT
, PC_FROZENACCOUNT
, PC_REMIT_OFFLINE
, PC_ALIPAY
, PC_UNIONPAY
, PC_REMIT_ONLINE
, PC_CONTRACT
, PC_WECHAT
]
支付方式
resource_pack_id string
资源包ID
ba_vouchers object[]
选择的代金券列表
billing_account_id string
计费账户ID
selected_vouchers object[]
用户选择的代金券列表
id string
代金券编号
deduction_amount object
价格
currency_code string
货币代码, 参考ISO 4217
units int64
价格整数部分
nanos int32
价格小数部分
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
order_id string required
订单号
{
"order_id": "string",
"interactive": true
}
Default error response
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
@type string
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...