feat(tenpayv3): 新增还款支付相关接口

This commit is contained in:
Fu Diwei
2025-07-14 20:39:03 +08:00
parent 048a51abb7
commit 8aae308a27
19 changed files with 602 additions and 47 deletions

View File

@@ -0,0 +1,9 @@
{
"sub_orders": [
{
"mchid": "1900000109",
"out_trade_no": "20150806125346",
"sub_mchid": "1230000109"
}
]
}

View File

@@ -0,0 +1,39 @@
{
"combine_out_trade_no": "1217752501201407033233368018",
"combine_mchid": "1230000109",
"sub_orders": [
{
"mchid": "1230000109",
"sub_mchid": "1900000109",
"out_trade_no": "20150806125346",
"amount": {
"total_amount": 10,
"currency": "CNY"
},
"attach": "深圳分店",
"description": "某某放心借",
"settle_info": {
"profit_sharing": false,
"subsidy_amount": 10
}
}
],
"time_expire": "2018-06-08T10:34:56+08:00",
"notify_url": "https://yourapp.com/notify",
"h5_info": {
"combine_appid": "wxd678efh567hg6787",
"payer_client_ip": "14.23.150.211",
"type": "iOS",
"app_name": "王者荣耀",
"app_url": "https://pay.qq.com",
"bundle_id": "com.tencent.wzryiOS",
"package_name": "com.tencent.tmgp.sgame"
},
"app_info": {
"combine_appid": "wxd678efh567hg6787"
},
"miniprogram_info": {
"combine_appid": "wxd678efh567hg6787",
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o\t"
}
}

View File

@@ -0,0 +1,4 @@
{
"prepay_id": "wx201410272009395522657a690389285100",
"h5_url": "https://wx.tenpay.com/cgi-bin/mmpayweb-bin/checkmweb?prepay_id=wx2016121516420242444321ca0631331346&package=1405458241"
}

View File

@@ -0,0 +1,28 @@
{
"combine_appid": "wxd678efh567hg6787",
"combine_mchid": "1230000109",
"combine_out_trade_no": "P20150806125346",
"combine_transaction_id": "1217752501201407033233368018",
"combine_payer_info": {
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o\t"
},
"sub_orders": [
{
"mchid": "1900000109",
"sub_mchid": "1230000109",
"out_trade_no": "20150806125346",
"transaction_id": "1009660380201506130728806387",
"trade_type": "JSAPI",
"trade_state": "SUCCESS",
"bank_type": "CMC",
"attach": "深圳分店",
"success_time": "2015-05-20T13:29:35.120+08:00",
"amount": {
"total_amount": 10,
"payer_amount": 10,
"currency": "CNY",
"payer_currency": "CNY"
}
}
]
}