支付相关接口¶
GET 查询支付方式¶
GET /prod-api/order/pay/order/describePayChannel
请求参数¶
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| Authorization | header | string | 是 | none |
返回示例
200 Response
{
"msg": "成功",
"code": 200,
"data": [
{
"name": "alipay_pc",
"value": "alipay_pc"
},
{
"name": "global_alipay_pc",
"value": "global_alipay_pc"
},
{
"name": "paypal_pc",
"value": "paypal_pc"
},
{
"name": "wallet",
"value": "wallet"
}
]
}
401 Response
返回结果¶
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 200 | OK | none | Inline |
| 401 | Unauthorized | none | Inline |
| 403 | Forbidden | none | Inline |
| 404 | Not Found | none | Inline |
返回数据结构¶
状态码 200
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » msg | string | true | none | none | |
| » code | integer | true | none | none | |
| » data | [object] | true | none | none | |
| »» name | string | true | none | 支付名称 | none |
| »» value | string | true | none | 支付值 | none |