文档
测试

支付宝2-手机端&PC端

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

请求头

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

请求参数

参数名
类型
描述
必填
payChannel
string
示例:7
必填
payPath
string
示例:h5
必填
totalPrices
int
示例:6900
必填
h5SceneInfo
object
数据字典
必填
payClientIp
string
示例:127.0.0.1
必填
payType
string
示例:Android
必填
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
示例:superpay_alipay
必填
wechatRetMap
object
示例:null
必填
alipayOrder
string
示例:https://api.superpayglobal.com/payment/bridge/merchant_request?merchant_id=74322&product_title=flygo%20payment&merchant_trade_no=f8e7a720e20e450b8777c7b68e52567c&currency=AUD&total_amount=69.00&rmb_amount=69.00&create_time=2023-08-31%2010%3A07%3A19&token=ef0979eaecb0f3f676e2985a8774fb9a&notification_url=https%3A%2F%2Fwebhookpayflydog.flydog188.com%3A4432%2Fego%2Fvpn-bss%2Fcallback%2Fsuperpa...
必填
paypalOrderId
object
示例:null
必填
billId
string
示例:f8e7a720-e20e-450b-8777-c7b68e52567c
必填
payUrl
object
示例:null
必填
superpayWechatResp
object
示例:null
必填
airwallexPaymentResp
object
示例:null
必填

说明 / 示例

传入参数: { "payChannel":"7", "payPath":"h5", "totalPrices":6900, "h5SceneInfo":{ "payClientIp":"127.0.0.1", "payType":"Android" } , "regionConfigId":"2998", "type":"2", "pricePackageId":"90000005", "pricePackageNum":"1" } 返回 { "code": "200", "message": null, "success": true, "data": { "type": "superpay_alipay", "wechatRetMap": null, "alipayOrder": "https://api.superpayglobal.com/payment/bridge/merchant_request?merchant_id=74322&product_title=flygo%20payment&merchant_trade_no=f8e7a720e20e450b8777c7b68e52567c&currency=AUD&total_amount=69.00&rmb_amount=69.00&create_time=2023-08-31%2010%3A07%3A19&token=ef0979eaecb0f3f676e2985a8774fb9a&notification_url=https%3A%2F%2Fwebhookpayflydog.flydog188.com%3A4432%2Fego%2Fvpn-bss%2Fcallback%2Fsuperpay&return_url=https%3A%2F%2Flightspeedpayeudydeyed.kuyouylinkwert.com%2F%23%2Fpay%3Fsuccess%3D1", "paypalOrderId": null, "billId": "f8e7a720-e20e-450b-8777-c7b68e52567c", "payUrl": null, "superpayWechatResp": null, "airwallexPaymentResp": null } 返回参数 alipayOrder为支付链接,如果是pC web端,直接跳转到该链接即可。 如果是手机h5端,在返回链接末尾拼接 &mobile_flag=T 比如https://api.superpayglobal.com/payment/bridge/merchant_request?merchant_id=74322&product_title=ego%20payment&merchant_trade_no=0a0cb0ca44b349e6a5d4a5d4fd9ae857&currency=AUD&total_amount=0.10&rmb_amount=0.10&create_time=2023-03-31%2008%3A24%3A58&token=fafef69749b9ea86236df5055916596b&notification_url=http%3A%2F%2F43.135.161.68%2Fego%2Fvpn-bss%2Fcallback%2Fsuperpay&mobile_flag=T }