feat(tenpayv3): 新增电商收付通合单代扣相关接口

This commit is contained in:
Fu Diwei
2023-04-06 20:33:05 +08:00
parent 65af9282cf
commit acb0926554
29 changed files with 905 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
{
"mchid": "1230000109",
"out_contract_code": "wxwtdk20200910100000",
"plan_id": 12535,
"appid": "wxd678efh567hg6787",
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"contract_termination_mode": "MCH_API_TERMINATE",
"operate_time": "2020-05-20T13:29:35.120+08:00"
}

View File

@@ -0,0 +1,24 @@
{
"combine_appid": "wxd678efh567hg6787",
"combine_mchid": "1900000109",
"combine_out_trade_no": "P20150806125346",
"contract_id": "123124412412423431",
"sub_orders": [
{
"mchid": "1900000109",
"attach": "深圳分店",
"amount": {
"total_amount": 100,
"currency": "CNY"
},
"out_trade_no": "20150806125346",
"sub_mchid": "1900000109",
"sub_appid": "wxd678efh567hg6787",
"description": "腾讯充值中心-QQ会员充值",
"settle_info": {
"profit_sharing": true,
"subsidy_amount": 10
}
}
]
}

View File

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

View File

@@ -0,0 +1,17 @@
{
"mchid": "1900000109",
"contract_id": "123124412412423431",
"appid": "wxd678efh567hg6787",
"plan_id": 12535,
"out_contract_code": "wxwtdk20200910100000",
"contract_display_account": "微信代扣用户A",
"contract_state": "SIGNED",
"contract_signed_time": "2020-09-10T13:29:35.120+08:00",
"contract_expired_time": "2021-09-10T13:29:35.120+08:00",
"contract_terminate_info": {
"contract_termination_mode": "MCH_API_TERMINATE",
"contract_terminated_time": "2020-10-10T13:29:35.120+08:00",
"contract_termination_remark": "用户解约"
},
"openid": "o-MYE42l80oelYMDE34nYD456Xoy"
}

View File

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

View File

@@ -0,0 +1,8 @@
{
"appid": "wxd678efh567hg6787",
"plan_id": 12535,
"out_contract_code": "wxwtdk20200910100000",
"contract_display_account": "微信代扣用户A",
"notify_url": "https://yourapp.com/notify",
"return_app": true
}

View File

@@ -0,0 +1,6 @@
{
"pre_entrustweb_id": "5778aadY9nltAsZzXixCkFIGYnV2V",
"mchid": "1900000109",
"plan_id": 12535,
"out_contract_code": "wxwtdk20200910100000"
}

View File

@@ -0,0 +1,11 @@
{
"combine_appid": "wxd678efh567hg6787",
"sub_orders": [
{
"mchid": "1900000109",
"out_trade_no": "20150806125346",
"sub_mchid": "1900000109",
"sub_appid": "wxd678efh567hg6787"
}
]
}

View File

@@ -0,0 +1,5 @@
{
"mchid": "1900000109",
"plan_id": 12535,
"out_contract_code": "wxwtdk20200910100000"
}