feat(tenpayv3): 新增银行批量转账相关接口

This commit is contained in:
Fu Diwei
2023-08-11 12:12:55 +08:00
parent f0c89e06bd
commit 647725ac3d
94 changed files with 1463 additions and 102 deletions

View File

@@ -0,0 +1,24 @@
{
"attach_remark": "付款专用商户单号11111",
"batch_name": "2019年1月深圳分部报销单",
"batch_remark": "2019年1月深圳分部报销单",
"out_batch_no": "plfk2020042013",
"platform_mchid": "1900001109",
"specialized_payment_mchid": "1900001109",
"sponsor_mchid": "1900001109",
"total_amount": 4000000,
"total_count": 200,
"transfer_detail_list": [
{
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"out_detail_no": "x23zy545Bd5436",
"transfer_amount": 200000,
"transfer_remark": "2020年4月报销"
}
],
"transfer_purpose": "COMMISSION",
"transfer_scene": "ORDINARY_TRANSFER",
"user_authorized_appid": "wxaffdakkk11112e3",
"user_authorized_mchid": "1900001109"
}

View File

@@ -0,0 +1,5 @@
{
"batch_id": "1130000071100999991182020050700019480001",
"create_time": "2015-05-20T13:29:35+08:00",
"out_batch_no": "plfk2020042013"
}

View File

@@ -0,0 +1,33 @@
{
"attach_remark": "付款专用商户单号11111",
"bank_sp_mchid": "1900001109",
"batch_id": "1130000071100999991182020050700019480001",
"batch_name": "2019年1月深圳分部报销单",
"batch_remark": "2019年1月深圳分部报销单",
"batch_state": "ACCEPTED",
"close_reason": "OVERDUE_CLOSE",
"create_time": "2015-05-20T13:29:35+08:00",
"fail_amount": 100000,
"fail_count": 1,
"out_batch_no": "plfk2020042013",
"platform_mchid": "1900001109",
"specialized_payment_mchid": "1900001109",
"sponsor_mchid": "1900001109",
"success_amount": 3900000,
"success_count": 199,
"total_amount": 4000000,
"total_count": 200,
"transfer_detail_list": [
{
"detail_id": "1140000071100999991182020050700019500100",
"detail_state": "SUCCESS",
"fail_reason": "ACCOUNT_FROZEN",
"out_detail_no": "x23zy545Bd5436"
}
],
"transfer_purpose": "COMMISSION",
"transfer_scene": "ORDINARY_TRANSFER",
"update_time": "2015-05-20T13:29:35+08:00",
"user_authorized_appid": "wxf636efh567hg4356",
"user_authorized_mchid": "1900001109"
}

View File

@@ -0,0 +1,33 @@
{
"attach_remark": "付款专用商户单号11111",
"bank_sp_mchid": "1900001109",
"batch_id": "1130000071100999991182020050700019480001",
"batch_name": "2019年1月深圳分部报销单",
"batch_remark": "2019年1月深圳分部报销单",
"batch_state": "ACCEPTED",
"close_reason": "OVERDUE_CLOSE",
"create_time": "2015-05-20T13:29:35+08:00",
"fail_amount": 100000,
"fail_count": 1,
"out_batch_no": "plfk2020042013",
"platform_mchid": "1900001109",
"specialized_payment_mchid": "1900001109",
"sponsor_mchid": "1900001109",
"success_amount": 3900000,
"success_count": 199,
"total_amount": 4000000,
"total_count": 200,
"transfer_detail_list": [
{
"detail_id": "1140000071100999991182020050700019500100",
"detail_state": "SUCCESS",
"fail_reason": "ACCOUNT_FROZEN",
"out_detail_no": "x23zy545Bd5436"
}
],
"transfer_purpose": "COMMISSION",
"transfer_scene": "ORDINARY_TRANSFER",
"update_time": "2015-05-20T13:29:35+08:00",
"user_authorized_appid": "wxf636efh567hg4356",
"user_authorized_mchid": "1900001109"
}

View File

@@ -0,0 +1,24 @@
{
"account_type": "BANK_ACCOUNT",
"bank_card_number_tail": "1234",
"bank_name": "招商银行",
"bank_sp_mchid": "1900001109",
"batch_id": "1130000071100999991182020050700019480001",
"detail_id": "1140000071100999991182020050700019500100",
"detail_state": "SUCCESS",
"fail_reason": "ACCOUNT_FROZEN",
"initiate_time": "2015-05-20T13:29:35+08:00",
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"out_batch_no": "plfk2020042013",
"out_detail_no": "x23zy545Bd5436",
"platform_mchid": "1900001109",
"specialized_payment_mchid": "1900001109",
"sponsor_mchid": "1900001109",
"transfer_amount": 200000,
"transfer_remark": "2020年4月报销",
"transfer_scene": "PAYROLL_CARD_TRANSFER",
"update_time": "2015-05-20T13:29:35+08:00",
"user_authorized_appid": "wxaffdakkk11112e3",
"user_authorized_mchid": "1900001109",
"username": "757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45"
}

View File

@@ -0,0 +1,24 @@
{
"account_type": "BANK_ACCOUNT",
"bank_card_number_tail": "1234",
"bank_name": "招商银行",
"bank_sp_mchid": "1900001109",
"batch_id": "1130000071100999991182020050700019480001",
"detail_id": "1140000071100999991182020050700019500100",
"detail_state": "SUCCESS",
"fail_reason": "ACCOUNT_FROZEN",
"initiate_time": "2015-05-20T13:29:35+08:00",
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
"out_batch_no": "plfk2020042013",
"out_detail_no": "x23zy545Bd5436",
"platform_mchid": "1900001109",
"specialized_payment_mchid": "1900001109",
"sponsor_mchid": "1900001109",
"transfer_amount": 200000,
"transfer_remark": "2020年4月报销",
"transfer_scene": "PAYROLL_CARD_TRANSFER",
"update_time": "2015-05-20T13:29:35+08:00",
"user_authorized_appid": "wxaffdakkk11112e3",
"user_authorized_mchid": "1900001109",
"username": "757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45"
}

View File

@@ -0,0 +1,4 @@
{
"out_batch_no": "GD2021011610162610BBdkkIwcu3",
"out_detail_no": "mx0911231610162610v4CNkO4HAf"
}

View File

@@ -0,0 +1,9 @@
{
"download_url": "https://api.mch.weixin.qq.com/v3/billdownload/file?token=xxx",
"hash_type": "SHA256",
"hash_value": "DE731F35146A0BEFADE5DB9D1E468D96C01CA8898119C674FEE9F11F4DBE5529",
"out_batch_no": "GD2021011610162610BBdkkIwcu3",
"out_detail_no": "mx0911231610162610v4CNkO4HAf",
"receipt_no": "1050000010509999485212020110200058820001",
"receipt_state": "ACCEPTED"
}

View File

@@ -0,0 +1,3 @@
{
"out_batch_no": "GD2021011610162610BBdkkIwcu3"
}

View File

@@ -0,0 +1,10 @@
{
"create_time": "2020-05-20T13:29:35.120+08:00",
"download_url": "https://api.mch.weixin.qq.com/v3/billdownload/file?token=xxx",
"hash_type": "SHA256",
"hash_value": "DE731F35146A0BEFADE5DB9D1E468D96C01CA8898119C674FEE9F11F4DBE5529",
"out_batch_no": "plfk2020042013",
"receipt_no": "1050000010509999485212020110200058820001",
"receipt_state": "ACCEPTED",
"update_time": "2020-05-21T13:29:35.120+08:00"
}

View File

@@ -0,0 +1,9 @@
{
"download_url": "https://api.mch.weixin.qq.com/v3/billdownload/file?token=xxx",
"hash_type": "SHA256",
"hash_value": "DE731F35146A0BEFADE5DB9D1E468D96C01CA8898119C674FEE9F11F4DBE5529",
"out_batch_no": "GD2021011610162610BBdkkIwcu3",
"out_detail_no": "mx0911231610162610v4CNkO4HAf",
"receipt_no": "1050000010509999485212020110200058820001",
"receipt_state": "ACCEPTED"
}

View File

@@ -0,0 +1,10 @@
{
"create_time": "2020-05-20T13:29:35.120+08:00",
"download_url": "https://api.mch.weixin.qq.com/v3/billdownload/file?token=xxx",
"hash_type": "SHA256",
"hash_value": "DE731F35146A0BEFADE5DB9D1E468D96C01CA8898119C674FEE9F11F4DBE5529",
"out_batch_no": "plfk2020042013",
"receipt_no": "1050000010509999485212020110200058820001",
"receipt_state": "ACCEPTED",
"update_time": "2020-05-21T13:29:35.120+08:00"
}