mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 18:04:42 +08:00
feat(tenpayv3): 新增直连商户委托代扣相关接口
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"schedule_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"schedule_state": "NO_SCHEDULED",
|
||||
"deduct_start_date": "2019-11-22",
|
||||
"deduct_end_date": "2019-11-22",
|
||||
"scheduled_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"deduct_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"deduct_date": "2019-11-22"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"schedule_state": "NO_SCHEDULED",
|
||||
"deduct_start_date": "2019-11-22",
|
||||
"deduct_end_date": "2019-11-22",
|
||||
"scheduled_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"deduct_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"deduct_date": "2019-11-22"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"out_trade_no": "1217752501201407033233368018",
|
||||
"description": "Image形象店-深圳腾大-QQ公仔",
|
||||
"transaction_notify_url": "https://www.qq.com/",
|
||||
"contract_id": "123124412412423431",
|
||||
"amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"goods_tag": "DISCOUNTS",
|
||||
"attach": "自定义数据"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"out_trade_no": "1217752501201407033233368018",
|
||||
"amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"openid": "oYobu0MVnQfWpSMOYJz2AHPG_gQw",
|
||||
"plan_id": 12535,
|
||||
"out_contract_code": "wxwtdk20200910100000",
|
||||
"contract_display_account": "微信代扣用户A",
|
||||
"contract_notify_url": "https://yourapp.com/notify",
|
||||
"out_user_code": "用户A",
|
||||
"deduct_schedule": {
|
||||
"estimated_deduct_date": "2019-11-22",
|
||||
"estimated_deduct_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"description": "小乔-碎云皮肤(微信83区沧海之耀)"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"pre_entrustweb_id": "5778aadY9nltAsZzXixCkFIGYnV2V"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"openid": "oYobu0MVnQfWpSMOYJz2AHPG_gQw",
|
||||
"plan_id": 12535,
|
||||
"out_contract_code": "wxwtdk20200910100000",
|
||||
"contract_display_account": "微信代扣用户A",
|
||||
"contract_notify_url": "https://yourapp.com/notify",
|
||||
"out_user_code": "用户A",
|
||||
"deduct_schedule": {
|
||||
"estimated_deduct_date": "2019-11-22",
|
||||
"estimated_deduct_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"description": "小乔-碎云皮肤(微信83区沧海之耀)"
|
||||
},
|
||||
"jump_control": {
|
||||
"jump_appid": "wxd678efh567hg6787"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"redirect_url": "https://www.xxx.com/xxxtemplate?session_id=wx12334"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"openid": "oYobu0MVnQfWpSMOYJz2AHPG_gQw",
|
||||
"plan_id": 12535,
|
||||
"out_contract_code": "wxwtdk20200910100000",
|
||||
"contract_display_account": "微信代扣用户A",
|
||||
"contract_notify_url": "https://yourapp.com/notify",
|
||||
"out_user_code": "用户A",
|
||||
"deduct_schedule": {
|
||||
"estimated_deduct_date": "2019-11-22",
|
||||
"estimated_deduct_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"description": "小乔-碎云皮肤(微信83区沧海之耀)"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"redirect_url": "https://www.xxx.com?pre_entrust_id=wx12334"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"openid": "oYobu0MVnQfWpSMOYJz2AHPG_gQw",
|
||||
"plan_id": 12535,
|
||||
"out_contract_code": "wxwtdk20200910100000",
|
||||
"contract_display_account": "微信代扣用户A",
|
||||
"contract_notify_url": "https://yourapp.com/notify",
|
||||
"out_user_code": "用户A",
|
||||
"deduct_schedule": {
|
||||
"estimated_deduct_date": "2019-11-22",
|
||||
"estimated_deduct_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"description": "小乔-碎云皮肤(微信83区沧海之耀)"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"pre_entrustweb_id": "5778aadY9nltAsZzXixCkFIGYnV2V",
|
||||
"redirect_appid": "wxbd687630cd02ce1d",
|
||||
"redirect_path": "pages/PwdExemptContract/index"
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"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+08:00",
|
||||
"contract_expired_time": "2021-09-10T13:29:35+08:00",
|
||||
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
|
||||
"contract_terminate_info": {
|
||||
"contract_termination_mode": "USER_TERMINATE",
|
||||
"contract_terminated_time": "2020-10-10T13:29:35+08:00",
|
||||
"contract_termination_remark": "用户解约"
|
||||
},
|
||||
"out_user_code": "用户A",
|
||||
"deduct_schedule": {
|
||||
"estimated_deduct_date": "2019-11-22",
|
||||
"estimated_deduct_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"schedule_state": "NO_SCHEDULED",
|
||||
"scheduled_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"deduct_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"deduct_date": "2019-11-22"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"contract_termination_remark": "用户解约"
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"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+08:00",
|
||||
"contract_expired_time": "2021-09-10T13:29:35+08:00",
|
||||
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
|
||||
"contract_terminate_info": {
|
||||
"contract_termination_mode": "USER_TERMINATE",
|
||||
"contract_terminated_time": "2020-10-10T13:29:35+08:00",
|
||||
"contract_termination_remark": "用户解约"
|
||||
},
|
||||
"out_user_code": "用户A",
|
||||
"deduct_schedule": {
|
||||
"estimated_deduct_date": "2019-11-22",
|
||||
"estimated_deduct_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"schedule_state": "NO_SCHEDULED",
|
||||
"scheduled_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"deduct_amount": {
|
||||
"total": 1,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"deduct_date": "2019-11-22"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user