h5购买套餐支付接口-支付宝
POST
http://{{flygo-local-test}}/ego/vpn-bss/bill/new-pay
请求头
参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE1NjQwNTk4ODEwIiwiZXhwIjoxNzE1NjEyNTEzLCJpYXQiOjE2NTI1NDA1MTN9.B1q-YEvp1H0N6z5gSNlFbZNkLBOl6Vas_VGPM8EYNUI
必填
请求参数
参数名
类型
描述
必填
totalPrices
int
示例:100
必填
pricePackageId
int
示例:90000001
必填
pricePackageNum
int
示例:1
必填
type
string
示例:1
必填
payChannel
string
示例:2
必填
regionConfigId
string
示例:1001
必填
payPath
string
示例:h5
必填
couponId
String
s示例:4717461f-f546-440f-ad48-e60021a04e8d 由app传入,可不传
可选
响应参数
参数名
类型
描述
必填
code
string
示例:200
必填
message
object
示例:null
必填
success
boolean
示例:true
必填
type
string
示例:wechat
必填
h5_url
string
示例:https://wx.tenpay.com/cgi-bin/mmpayweb-bin/checkmweb?prepay_id=wx17234134223247f7df4be8d5992fab0000&package=2951921782
必填
alipayOrder
object
示例:null
必填
billId
string
示例:9e863933-6482-44b9-ba9e-8ed0fb70e8a1
必填
payUrl
object
示例:null
必填