文档
测试

微信5

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

请求头

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

请求参数

参数名
类型
描述
必填
payChannel
string
示例:10-2
必填
payPath
string
示例:h5
必填
totalPrices
int
示例:500
必填
h5SceneInfo
object
数据字典
必填
payClientIp
string
示例:127.0.0.1
必填
payType
string
示例:Android
必填
regionConfigId
string
示例:1998
必填
type
string
示例:2
必填
pricePackageId
string
示例:90000001
必填
pricePackageNum
string
示例:1
必填
couponId
string
示例:5ade5e86-ad1b-4220-8069-34d89ae9488c
必填

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
message
object
示例:null
必填
success
boolean
示例:true
必填
data
object
数据字典
必填
type
object
示例:null
必填
wechatRetMap
object
示例:null
必填
alipayOrder
object
示例:null
必填
paypalOrderId
object
示例:null
必填
billId
string
示例:634d8d05-0152-4b58-bf4e-1c0546c3586f
必填
payUrl
string
示例:http://pay.hnammall.com/pay/gfk_wxwap/send.php?orderid=m2024053116124559468211708&price=5.00&sign=7f2be9af3e4e4ec1bcba20a0ef6d67a9
必填
qrPayUrl
string
示例:http://pay.hnammall.com/pay/qrcode/get.php?data=http%3A%2F%2Fpay.hnammall.com%2Fpay%2Fgfk_wxwap%2Fsend.php%3Forderid%3Dm2024053116124559468211708%26price%3D5.00%26sign%3D7f2be9af3e4e4ec1bcba20a0ef6d67a9
必填
orderId
object
示例:null
必填
superpayWechatResp
object
示例:null
必填
airwallexPaymentResp
object
示例:null
必填
stripeOrderId
object
示例:null
必填
stripePaymentResp
object
示例:null
必填

说明 / 示例

传参: { "payChannel":"10-2", "payPath":"h5", "totalPrices":500, "h5SceneInfo":{ "payClientIp":"127.0.0.1", "payType":"Android" } , "regionConfigId":"1998", "type":"2", "pricePackageId":"90000001", "pricePackageNum":"1", "couponId":"4cffacec-7f3b-4f42-a418-87adc7657409" } 传参说明: 名字为:微信5 id:接着之前的顺延 payChannel为10-2 payPath:h5 "h5SceneInfo":{ "payClientIp":"127.0.0.1", "payType":"Android" } ,固定就这么写 其他的跟之前的传参规则没有太大的变化 返回 如果是手机端,返回的payUrl 直接跳转。 如果是PC端,返回的qrPayUrl为二维码 为二维码。 { "code": "200", "message": null, "success": true, "data": { "type": null, "wechatRetMap": null, "alipayOrder": null, "paypalOrderId": null, "billId": "dcb46f31-289a-439e-8a66-00947d91b3b3", "payUrl": "http://pay.hnammall.com/pay/ali_wap/send.php?orderid=m2024053116044511110911708&price=5.00&sign=ac17089da7c26c55fb143ca8e27111ca", "qrPayUrl": "http://pay.hnammall.com/pay/qrcode/get.php?data=http%3A%2F%2Fpay.hnammall.com%2Fpay%2Fali_wap%2Fsend.php%3Forderid%3Dm2024053116044511110911708%26price%3D5.00%26sign%3Dac17089da7c26c55fb143ca8e27111ca", "orderId": null, "superpayWechatResp": null, "airwallexPaymentResp": null, "stripeOrderId": null, "stripePaymentResp": null } }