多渠道充值套餐
请求URL:
/rechargePackageChannel
请求方式:
- POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| appId | 是 | string | App唯一标识 |
| udid | 是 | string | 唯一设备ID |
| limitBuy | 否 | uint | 是否首充限购:0-否;1-是 |
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": [
{
"channel": 1,
"name": "Apple",
"apiUrl": "",
"icon": {
"unSelected": "https://normal.jpg",
"selected": "https://selected.jpg"
},
"list": [
{
"id": 36,
"price": 199,
"amount": 200,
"giftAmount": 50,
"productId": "com.live.vwlive.1",
"limitBuy": 1,
"type": 1,
"channel": 1,
"originalPrice": 798,
"createdAt": 1745688644,
"updatedAt": 1762371499
},
{
"id": 37,
"price": 399,
"amount": 100,
"giftAmount": 0,
"productId": "com.live.vwlive.2",
"limitBuy": 0,
"type": 0,
"channel": 1,
"originalPrice": 0,
"createdAt": 1745688488,
"updatedAt": 1762371500
}
]
},
{
"channel": 2,
"name": "PayPay",
"apiUrl": "",
"icon": {
"unSelected": "https://normal.jpg",
"selected": "https://selected.jpg"
},
"list": [
{
"id": 48,
"price": 199,
"amount": 200,
"giftAmount": 50,
"productId": "com.live.vwlive.1",
"limitBuy": 1,
"type": 1,
"channel": 2,
"originalPrice": 798,
"createdAt": 1745688644,
"updatedAt": 1762371499
},
{
"id": 49,
"price": 399,
"amount": 100,
"giftAmount": 0,
"productId": "com.live.vwlive.2",
"limitBuy": 0,
"type": 0,
"channel": 2,
"originalPrice": 0,
"createdAt": 1745688488,
"updatedAt": 1762371500
}
]
},
{
"channel": 4,
"name": "V5Pay",
"apiUrl": "https://admin.webui.muyuhan.xin/api/v5Pay.html",
"icon": {
"unSelected": "https://muyuhan.s3.amazonaws.com/aiChat/icons/pay/v5pay.png",
"selected": "https://muyuhan.s3.amazonaws.com/aiChat/icons/pay/v5pay_active.png"
},
"extra": null,
"list": [
{
"id": 91,
"price": 199,
"amount": 200,
"giftAmount": 50,
"amountFestival": 0,
"giftAmountFestival": 0,
"productId": "com.aichat.web.app.1",
"limitBuy": 1,
"type": 1,
"channel": 4,
"originalPrice": 798,
"createdAt": 1762448055,
"updatedAt": 1764894091
},
{
"id": 92,
"price": 399,
"amount": 100,
"giftAmount": 0,
"amountFestival": 0,
"giftAmountFestival": 0,
"productId": "com.aichat.web.app.2",
"limitBuy": 0,
"type": 0,
"channel": 4,
"originalPrice": 0,
"createdAt": 1762448080,
"updatedAt": 1766957274
}
]
},
{
"channel": 5,
"name": "Waffo",
"apiUrl": "https://admin.webui.muyuhan.xin/api/waffoPay.html",
"icon": {
"unSelected": "https://muyuhan.s3.amazonaws.com/aiChat/icons/pay/waffo.png",
"selected": "https://muyuhan.s3.amazonaws.com/aiChat/icons/pay/waffo_active.png"
},
"extra": {
"APPLEPAY": [
{
"payMethodType": "APPLEPAY",
"payMethodName": "APPLEPAY",
"icon": "https://muyuhan.s3.amazonaws.com/aiChat/icons/pay/waffo/waffo/APPLEPAY.png"
}
],
"CREDITCARD": [
{
"payMethodType": "CREDITCARD",
"payMethodName": "CC_MASTERCARD",
"icon": "https://muyuhan.s3.amazonaws.com/aiChat/icons/pay/waffo/CC_MASTERCARD.png"
},
{
"payMethodType": "CREDITCARD",
"payMethodName": "CC_VISA",
"icon": "https://muyuhan.s3.amazonaws.com/aiChat/icons/pay/waffo/CC_VISA.png"
}
],
"DEBITCARD": [
{
"payMethodType": "DEBITCARD",
"payMethodName": "CC_MASTERCARD",
"icon": "https://muyuhan.s3.amazonaws.com/aiChat/icons/pay/waffo/CC_MASTERCARD.png"
},
{
"payMethodType": "DEBITCARD",
"payMethodName": "CC_VISA",
"icon": "https://muyuhan.s3.amazonaws.com/aiChat/icons/pay/waffo/CC_VISA.png"
}
],
"GOOGLEPAY": [
{
"payMethodType": "GOOGLEPAY",
"payMethodName": "GOOGLEPAY",
"icon": "https://muyuhan.s3.amazonaws.com/aiChat/icons/pay/waffo/GOOGLEPAY.png"
}
]
},
"list": [
{
"id": 119,
"price": 199,
"amount": 200,
"giftAmount": 50,
"amountFestival": 0,
"giftAmountFestival": 0,
"productId": "com.aichat.web.app.1",
"limitBuy": 1,
"type": 1,
"channel": 5,
"originalPrice": 798,
"createdAt": 1766956960,
"updatedAt": 1766957096
},
{
"id": 120,
"price": 399,
"amount": 100,
"giftAmount": 0,
"amountFestival": 0,
"giftAmountFestival": 0,
"productId": "com.aichat.web.app.2",
"limitBuy": 0,
"type": 0,
"channel": 5,
"originalPrice": 0,
"createdAt": 1766956972,
"updatedAt": 1766957311
}
]
}
]
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | Array | 数据列表 |
| -channel | int | 渠道ID 1:Apple2:PayPay3:Stripe4:V5Pay |
| -apiUrl | string | 购买商品三方Api地址 |
| -name | string | 渠道名称 |
| -icon | struct | 渠道图标 |
| --unSelected | string | 未选中图标 |
| --selected | string | 选中图标 |
| -list | Array | 套餐列表 |
| --id | uint | 套餐ID |
| --price | uint | 套餐价格(单位:分) |
| --amount | uint | 钻石数 |
| --giftAmount | uint | 附赠钻石数 |
| --productId | string | 支付产品ID |
| --limitBuy | uint | 是否首充限购:0-否;1-是 |
| --type | uint | 1-First charge;2-Recommend;4-Best deal |
| --originalPrice | uint | 套餐原价格(单位:分) |
| -extra | Object | 额外信息 |
| --payMethodType | string | Waffo(支付方式类型) |
| --payMethodName | string | Waffo(支付方式名字) |
| --icon | string | Waffo(图标) |
备注