feat(tenpayv3): 新增服务商平台收付通商家转账相关接口

This commit is contained in:
Fu Diwei
2024-07-02 11:23:08 +08:00
parent f0ab585147
commit 4869479583
57 changed files with 2752 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
{
"sub_mchid": "1900001109",
"out_bill_no": "plfk2020042013",
"transfer_bill_no": "1330000071100999991182020050700019480001",
"state": "CANCELING",
"update_time": "2015-05-20T13:29:35.120+08:00"
}

View File

@@ -0,0 +1,11 @@
{
"sub_mchid": "1900001109",
"agreement_list": [
{
"agreement_code": "1",
"agreement_version": "20230101",
"sign_organization": "示例有限责任公司",
"sign_time": "2015-05-20T13:29:35.120+08:00"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"sub_mchid": "1900001109",
"authorization_state": "AUTHORIZE_PROCESSING",
"accept_time": "2015-05-20T13:29:35.120+08:00",
"authorize_time": "2015-05-20T13:29:35.120+08:00"
}

View File

@@ -0,0 +1,11 @@
{
"sub_mchid": "1900001109",
"appid": "wxf636efh567hg4356",
"out_bill_no": "plfk2020042013",
"transfer_scene_id": "1000",
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"user_name": "757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45",
"transfer_amount": 400000,
"transfer_remark": "2020年4月报销",
"notify_url": "https://www.weixin.qq.com/wxpay/pay.php"
}

View File

@@ -0,0 +1,9 @@
{
"sub_mchid": "1900001109",
"out_bill_no": "plfk2020042013",
"transfer_bill_no": "1330000071100999991182020050700019480001",
"create_time": "2015-05-20T13:29:35.120+08:00",
"state": "ACCEPTED",
"fail_reason": "PAYEE_ACCOUNT_ABNORMAL",
"package_info": "affffddafdfafddffda=="
}

View File

@@ -0,0 +1,5 @@
{
"sub_mchid": "1900001109",
"authorization_state": "AUTHORIZE_PROCESSING",
"authorize_time": "2015-05-20T13:29:35.120+08:00"
}

View File

@@ -0,0 +1,16 @@
{
"mchid": "1900001109",
"sub_mchid": "1900001121",
"out_bill_no": "plfk2020042013",
"transfer_bill_no": "1330000071100999991182020050700019480001",
"appid": "wxf636efh567hg4356",
"transfer_scene_id": "10001",
"state": "ACCEPTED",
"transfer_amount": 400000,
"transfer_remark": "2020年4月报销",
"fail_reason": "PAYEE_ACCOUNT_ABNORMAL",
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"user_name": "757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45",
"create_time": "2015-05-20T13:29:35.120+08:00",
"update_time": "2015-05-20T13:29:35.120+08:00"
}

View File

@@ -0,0 +1,16 @@
{
"mchid": "1900001109",
"sub_mchid": "1900001121",
"out_bill_no": "plfk2020042013",
"transfer_bill_no": "1330000071100999991182020050700019480001",
"appid": "wxf636efh567hg4356",
"transfer_scene_id": "10001",
"state": "ACCEPTED",
"transfer_amount": 400000,
"transfer_remark": "2020年4月报销",
"fail_reason": "PAYEE_ACCOUNT_ABNORMAL",
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"user_name": "757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45",
"create_time": "2015-05-20T13:29:35.120+08:00",
"update_time": "2015-05-20T13:29:35.120+08:00"
}

View File

@@ -0,0 +1,21 @@
{
"sub_mchid": "1900001109",
"sp_appid": "wxf636efh567hg4356",
"sub_appid": "wxf636efh567hg4356",
"out_batch_no": "sjzz20230223",
"batch_name": "2023年2月深圳分部报销单",
"batch_remark": "2023年2月深圳分部报销单",
"total_amount": 4000000,
"total_num": 200,
"transfer_scene_id": "1000",
"transfer_detail_list": [
{
"out_detail_no": "x23zy545Bd5436",
"transfer_amount": 200000,
"transfer_remark": "2023年2月报销",
"reservation_id": "1330000071100999991182020050700019480001",
"openid": "o-MYE42l80oelYMDE34nYD456Xoy"
}
],
"notify_url": "https://www.weixin.qq.com/wxpay/pay.php"
}

View File

@@ -0,0 +1,6 @@
{
"out_batch_no": "sjzz20230223",
"batch_id": "131000011085109987515042023022300246500006",
"create_time": "2023-02-23T13:29:35+08:00",
"batch_state": "ACCEPTED"
}

View File

@@ -0,0 +1,23 @@
{
"sub_mchid": "1900001109",
"sp_appid": "wxf636efh567hg4356",
"sub_appid": "wxf636efh567hg4356",
"out_reservation_no": "plfk2020042013",
"transfer_scene_id": "1000",
"estimated_date": "2019-11-22",
"estimated_max_amount": 400000,
"exact_amount": 100000,
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"user_real_name": "757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45",
"reserve_remark": "由于存在收益波动,实际到账资金可能不等于当前金额",
"notify_url": "https://www.weixin.qq.com/wxpay/pay.php",
"scene_report_data": {
"insurance_policy": {
"product_registration_no": "40058541257",
"policy_no": "202301011651",
"name": "养老保险",
"withdrawal_no": "202310410941",
"claim_no": "202310410941"
}
}
}

View File

@@ -0,0 +1,8 @@
{
"sub_mchid": "1900001109",
"out_reservation_no": "plfk2020042013",
"reservation_id": "1330000071100999991182020050700019480001",
"accept_time": "2015-05-20T13:29:35.120+08:00",
"state": "ACCEPTED",
"package_info": "affffddafdfafddffda=="
}

View File

@@ -0,0 +1,21 @@
{
"sp_mchid": "1900001109",
"sub_mchid": "1900001109",
"sp_appid": "wxf636efh567hg4356",
"sub_appid": "wxf636efh567hg4356",
"reservation_id": "1330000071100999991182020050700019480001",
"out_reservation_no": "plfk2020042013",
"transfer_scene_id": "1000",
"estimated_date": "2019-11-22",
"estimated_max_amount": 400000,
"exact_amount": 100000,
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"bank_type": "ICBC_DEBIT",
"state": "ACCEPTED",
"accept_time": "2015-05-20T13:29:35.120+08:00",
"reserve_time": "2015-05-20T13:29:35.120+08:00",
"close_info": {
"close_time": "2015-05-20T13:29:35.120+08:00",
"close_reason": "USER_OVERDUE_UNCONFIRMED"
}
}

View File

@@ -0,0 +1,30 @@
{
"transfer_batch": {
"out_batch_no": "sjzz20230223",
"batch_id": "131000011085109987515042023022300246500006",
"sp_appid": "wxf636efh567hg4356",
"sub_mchid": "1900000109",
"sub_appid": "wxf636efh567hg4356",
"batch_state": "ACCEPTED",
"batch_name": "2023年2月深圳分部转账单",
"batch_remark": "2023年2月深圳分部报销单",
"close_reason": "MERCHANT_REVOCATION",
"total_amount": 4000000,
"total_num": 200,
"create_time": "2023-02-23T13:29:35+08:00",
"success_amount": 3900000,
"success_num": 199,
"failed_amount": 100000,
"failed_num": 1,
"transfer_scene_id": "1000"
},
"data": [
{
"detail_id": "132000011085109987515042023022300246521006",
"out_detail_no": "x23zy545Bd5436",
"detail_state": "INIT"
}
],
"offset": 0,
"limit": 20
}

View File

@@ -0,0 +1,30 @@
{
"transfer_batch": {
"out_batch_no": "sjzz20230223",
"batch_id": "131000011085109987515042023022300246500006",
"sp_appid": "wxf636efh567hg4356",
"sub_mchid": "1900000109",
"sub_appid": "wxf636efh567hg4356",
"batch_state": "ACCEPTED",
"batch_name": "2023年2月深圳分部转账单",
"batch_remark": "2023年2月深圳分部报销单",
"close_reason": "MERCHANT_REVOCATION",
"total_amount": 4000000,
"total_num": 200,
"create_time": "2023-02-23T13:29:35+08:00",
"success_amount": 3900000,
"success_num": 199,
"failed_amount": 100000,
"failed_num": 1,
"transfer_scene_id": "1000"
},
"data": [
{
"detail_id": "132000011085109987515042023022300246521006",
"out_detail_no": "x23zy545Bd5436",
"detail_state": "INIT"
}
],
"offset": 0,
"limit": 20
}

View File

@@ -0,0 +1,19 @@
{
"out_batch_no": "sjzz20230223",
"batch_id": "131000011085109987515042023022300246500006",
"out_detail_no": "x23zy545Bd5436",
"detail_id": "132000011085109987515042023022300246521006",
"sp_appid": "wxf636efh567hg4356",
"sub_mchid": "1900000109",
"sub_appid": "wxf636efh567hg4356",
"create_time": "2023-02-23T13:29:35+08:00",
"detail_state": "INIT",
"transfer_amount": 20000,
"transfer_remark": "2023年2月报销",
"fail_reason": "ACCOUNT_FROZEN",
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"bank_type": "ICBC_DEBIT",
"user_name": "757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45",
"transfer_finish_time": "2023-02-23T13:29:35+08:00",
"bank_refund_time": "2023-02-23T13:29:35+08:00"
}

View File

@@ -0,0 +1,19 @@
{
"out_batch_no": "sjzz20230223",
"batch_id": "131000011085109987515042023022300246500006",
"out_detail_no": "x23zy545Bd5436",
"detail_id": "132000011085109987515042023022300246521006",
"sp_appid": "wxf636efh567hg4356",
"sub_mchid": "1900000109",
"sub_appid": "wxf636efh567hg4356",
"create_time": "2023-02-23T13:29:35+08:00",
"detail_state": "INIT",
"transfer_amount": 20000,
"transfer_remark": "2023年2月报销",
"fail_reason": "ACCOUNT_FROZEN",
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"bank_type": "ICBC_DEBIT",
"user_name": "757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45",
"transfer_finish_time": "2023-02-23T13:29:35+08:00",
"bank_refund_time": "2023-02-23T13:29:35+08:00"
}

View File

@@ -0,0 +1,21 @@
{
"sp_mchid": "1900001109",
"sub_mchid": "1900001109",
"sp_appid": "wxf636efh567hg4356",
"sub_appid": "wxf636efh567hg4356",
"reservation_id": "1330000071100999991182020050700019480001",
"out_reservation_no": "plfk2020042013",
"transfer_scene_id": "1000",
"estimated_date": "2019-11-22",
"estimated_max_amount": 400000,
"exact_amount": 100000,
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"bank_type": "ICBC_DEBIT",
"state": "ACCEPTED",
"accept_time": "2015-05-20T13:29:35.120+08:00",
"reserve_time": "2015-05-20T13:29:35.120+08:00",
"close_info": {
"close_time": "2015-05-20T13:29:35.120+08:00",
"close_reason": "USER_OVERDUE_UNCONFIRMED"
}
}

View File

@@ -0,0 +1,21 @@
{
"sp_mchid": "1900001109",
"sub_mchid": "1900001109",
"sp_appid": "wxf636efh567hg4356",
"sub_appid": "wxf636efh567hg4356",
"reservation_id": "1330000071100999991182020050700019480001",
"out_reservation_no": "plfk2020042013",
"transfer_scene_id": "1000",
"estimated_date": "2019-11-22",
"estimated_max_amount": 400000,
"exact_amount": 100000,
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"bank_type": "ICBC_DEBIT",
"state": "ACCEPTED",
"accept_time": "2015-05-20T13:29:35.120+08:00",
"reserve_time": "2015-05-20T13:29:35.120+08:00",
"close_info": {
"close_time": "2015-05-20T13:29:35.120+08:00",
"close_reason": "USER_OVERDUE_UNCONFIRMED"
}
}