文档
测试

支付宝1

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-1
必填
payPath
string
示例:native
必填
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
示例:90a52fd6-8020-42f0-8240-ce632fed4e65
必填
payUrl
object
示例:null
必填
superpayWechatResp
object
示例:null
必填
airwallexPaymentResp
object
数据字典
必填
id
string
示例:int_hkpdgxcstgoae5e5la9
必填
request_id
string
示例:9c8f6383-fff1-41e8-8a6a-533f06ed8d77
必填
amount
int
示例:69
必填
currency
string
示例:CNY
必填
client_secret
object
示例:null
必填
available_payment_method_types
object
示例:null
必填
status
string
示例:REQUIRES_CUSTOMER_ACTION
必填
next_action
object
数据字典
必填
type
string
示例:redirect
必填
method
string
示例:GET
必填
url
string
示例:https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2FstartApp%3FappId%3D10000007%26actionType%3Droute%26qrcode%3D28166604009zTCzv7PymA1jBQT9gVAJ0dFoS%26externalThrough%3D%257B%2522acTerminalType%2522%253A%2522WAP%2522%257D
必填
qrcode_url
object
示例:null
必填

说明 / 示例

传入参数: { "payChannel":"5-1", "payPath":"native", "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": "90a52fd6-8020-42f0-8240-ce632fed4e65", "payUrl": null, "superpayWechatResp": null, "airwallexPaymentResp": { "id": "int_hkpdgxcstgoae5e5la9", "request_id": "9c8f6383-fff1-41e8-8a6a-533f06ed8d77", "amount": 69, "currency": "CNY", "client_secret": null, "available_payment_method_types": null, "status": "REQUIRES_CUSTOMER_ACTION", "next_action": { "type": "redirect", "method": "GET", "url": "https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2FstartApp%3FappId%3D10000007%26actionType%3Droute%26qrcode%3D28166604009zTCzv7PymA1jBQT9gVAJ0dFoS%26externalThrough%3D%257B%2522acTerminalType%2522%253A%2522WAP%2522%257D", "qrcode_url": null } } } }