文档
测试

信用卡支付

POST
http://118.195.179.79:20082/ego/vpn-bss/bill/new-pay

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE1MDAxMTIwMTE4IiwiZXhwIjoxNzU2NDYyOTYzLCJpYXQiOjE2OTMzOTA5NjN9.t-4MmlDSb8_Ioz5pzv1eU80rpR-cHFA1ToKOYJ5G1uE
必填

请求参数

参数名
类型
描述
必填
payChannel
string
示例:5-3
必填
payPath
string
示例:app
必填
totalPrices
int
示例:6900
必填
regionConfigId
string
示例:2998
必填
type
string
示例:2
必填
pricePackageId
string
示例:90000005
必填
pricePackageNum
string
示例:1
必填

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
message
object
示例:null
必填
success
boolean
示例:true
必填
data
object
数据字典
必填
type
string
示例:airwallex
必填
wechatRetMap
object
示例:null
必填
alipayOrder
object
示例:null
必填
paypalOrderId
object
示例:null
必填
billId
string
示例:4351ac4d-7eb2-4f75-b685-238851193055
必填
payUrl
object
示例:null
必填
superpayWechatResp
object
示例:null
必填
airwallexPaymentResp
object
数据字典
必填
id
string
示例:int_hkpd7vg2dgoaevxsaiv
必填
request_id
string
示例:e38eb9fa-9695-4386-bbf5-c6db7e8c569c
必填
amount
int
示例:69
必填
currency
string
示例:CNY
必填
client_secret
string
示例:eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2OTM0ODE5OTIsImV4cCI6MTY5MzQ4NTU5MiwidHlwZSI6ImNsaWVudC1zZWNyZXQiLCJwYWRjIjoiSEsiLCJhY2NvdW50X2lkIjoiODg1YjM2YzMtNzFmMi00ZTcyLWEwODYtMGQwY2FlYjFhNDU4IiwiaW50ZW50X2lkIjoiaW50X2hrcGQ3dmcyZGdvYWV2eHNhaXYiLCJidXNpbmVzc19uYW1lIjoiV1QgREVTSUdOIEFORCBERUNPUkFUSU9OIExJTUlURUQifQ.HT_RCSNRnVF5MsrZyJghQQQKeYgOAfp0ES19QtTK2mw
必填
available_payment_method_types
array
数据列表
必填
status
string
示例:REQUIRES_PAYMENT_METHOD
必填
next_action
object
示例:null
必填

说明 / 示例

传入参数: { "payChannel":"5-3", "payPath":"app", "totalPrices":6900, "regionConfigId":"2998", "type":"2", "pricePackageId":"90000005", "pricePackageNum":"1" } 返回 { "code": "200", "message": null, "success": true, "data": { "type": "airwallex", "wechatRetMap": null, "alipayOrder": null, "paypalOrderId": null, "billId": "4351ac4d-7eb2-4f75-b685-238851193055", "payUrl": null, "superpayWechatResp": null, "airwallexPaymentResp": { "id": "int_hkpd7vg2dgoaevxsaiv", "request_id": "e38eb9fa-9695-4386-bbf5-c6db7e8c569c", "amount": 69, "currency": "CNY", "client_secret": "eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2OTM0ODE5OTIsImV4cCI6MTY5MzQ4NTU5MiwidHlwZSI6ImNsaWVudC1zZWNyZXQiLCJwYWRjIjoiSEsiLCJhY2NvdW50X2lkIjoiODg1YjM2YzMtNzFmMi00ZTcyLWEwODYtMGQwY2FlYjFhNDU4IiwiaW50ZW50X2lkIjoiaW50X2hrcGQ3dmcyZGdvYWV2eHNhaXYiLCJidXNpbmVzc19uYW1lIjoiV1QgREVTSUdOIEFORCBERUNPUkFUSU9OIExJTUlURUQifQ.HT_RCSNRnVF5MsrZyJghQQQKeYgOAfp0ES19QtTK2mw", "available_payment_method_types": [ "wechatpay", "card", "alipaycn", "applepay" ], "status": "REQUIRES_PAYMENT_METHOD", "next_action": null } } }