feat(tenpaybusiness): 新增智能分账相关接口

This commit is contained in:
Fu Diwei
2023-04-16 01:54:47 +08:00
parent b6e5fc1dac
commit 646d86d61c
36 changed files with 1506 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
{
"ent_id": "stringstri",
"payment_id": "string",
"out_allocation_id": "string",
"server_notify_url": "string",
"finish": true,
"allocations": [
{
"out_allocation_detail_id": "string",
"receiver_acct_id": "string",
"merchant_name": "string",
"amount": 0,
"scenario": "PLATFORM_ALLOCATION",
"detail": "string",
"desc": "string"
}
]
}

View File

@@ -0,0 +1,23 @@
{
"payment_id": "string",
"out_allocation_id": "string",
"allocation_id": "string",
"status": "INIT",
"finished_time": "2019-08-24T14:15:22Z",
"allocations": [
{
"allocation_detail_id": "string",
"out_allocation_detail_id": "string",
"receiver_acct_id": "string",
"merchant_name": "string",
"amount": 0,
"result": "PENDING",
"succeeded_time": "2019-08-24T14:15:22Z",
"failed_reason": {
"failed_type": "NO_RELATION",
"failed_detail": "string"
},
"desc": "string"
}
]
}

View File

@@ -0,0 +1,25 @@
{
"payment_id": "string",
"out_allocation_id": "string",
"allocation_id": "string",
"status": "INIT",
"finished_time": "2019-08-24T14:15:22Z",
"finish_amount": 0,
"finish_desc": "string",
"allocations": [
{
"allocation_detail_id": "string",
"out_allocation_detail_id": "string",
"receiver_acct_id": "string",
"merchant_name": "string",
"amount": 0,
"result": "PENDING",
"succeeded_time": "2019-08-24T14:15:22Z",
"failed_reason": {
"failed_type": "NO_RELATION",
"failed_detail": "string"
},
"desc": "string"
}
]
}

View File

@@ -0,0 +1,24 @@
{
"payment_id": "string",
"out_allocation_id": "string",
"allocation_id": "string",
"status": "INIT",
"finish_amount": 0,
"finish_desc": "string",
"allocations": [
{
"allocation_detail_id": "string",
"out_allocation_detail_id": "string",
"receiver_acct_id": "string",
"merchant_name": "string",
"amount": 0,
"result": "PENDING",
"succeeded_time": "2019-08-24T14:15:22Z",
"failed_reason": {
"failed_type": "NO_RELATION",
"failed_detail": "string"
},
"desc": "string"
}
]
}

View File

@@ -0,0 +1,35 @@
{
"out_application_id": "string",
"ent_id": "stringstri",
"receiver_type": "ENTERPRISE",
"out_receiver_name": "string",
"natural_person_info": {
"name": "string",
"number": "string",
"validity_period": [ "string" ],
"front_photocopy_file_id": "string",
"back_photocopy_file_id": "string",
"id_card_address_info": {
"detail_address": "string",
"province_name": "string",
"province_code": "string",
"city_name": "string",
"city_code": "string",
"area_name": "string",
"area_code": "string"
}
},
"settlement_account": {
"account_type": "ENTERPRISE_ACCOUNT",
"bank_account_name": "string",
"bank_account_number": "string",
"bank_account_mobile": "string",
"bank_branch_id": "string",
"bank_branch_name": "string",
"bank_name": "string"
},
"withdraw_cycle": {
"cycle_type": "T_N",
"cycle_value": 0
}
}

View File

@@ -0,0 +1,5 @@
{
"out_application_id": "string",
"application_id": "string",
"status": "PROCESSING"
}

View File

@@ -0,0 +1,18 @@
{
"out_application_id": "string",
"application_id": "string",
"status": "PROCESSING",
"ent_id": "stringstri",
"receiver_info": {
"receiver_acct_id": "string",
"receiver_type": "ENTERPRISE",
"merchant_name": "string",
"out_receiver_name": "string",
"id_card_num_mask": "152***********123*",
"id_card_num_md5": "d41d8cd98f00b204e9800998ecf8427e"
},
"failed_reason": {
"failed_type": "BANK_REJECTED",
"failed_detail": "string"
}
}

View File

@@ -0,0 +1,18 @@
{
"out_application_id": "string",
"application_id": "string",
"status": "PROCESSING",
"ent_id": "stringstri",
"receiver_info": {
"receiver_acct_id": "string",
"receiver_type": "ENTERPRISE",
"merchant_name": "string",
"out_receiver_name": "string",
"id_card_num_mask": "152***********123*",
"id_card_num_md5": "d41d8cd98f00b204e9800998ecf8427e"
},
"failed_reason": {
"failed_type": "BANK_REJECTED",
"failed_detail": "string"
}
}

View File

@@ -0,0 +1,24 @@
{
"receiver_accts": [
{
"receiver_acct_id": "6114100203045745560000001234567",
"receiver_type": "NATURAL_PERSON",
"merchant_name": "个人经营者-张三",
"unified_social_credit_code": "9144030071526726XG",
"id_card_num_mask": "152***********123*",
"id_card_num_md5": "d41d8cd98f00b204e9800998ecf8427e",
"bank_name": "平安银行",
"account_type": "PERSON_ACCOUNT",
"bank_account_name": "张*",
"bank_account_number_last4": "1234",
"withdraw_cycle": {
"cycle_type": "T_N",
"cycle_value": 1
},
"receiver_withdraw_cycle": {
"cycle_type": "T_N",
"cycle_value": 2
}
}
]
}

View File

@@ -0,0 +1,7 @@
{
"ent_id": "stringstri",
"payment_id": "string",
"out_allocation_id": "string",
"desc": "string",
"server_notify_url": "string"
}

View File

@@ -0,0 +1,5 @@
{
"payment_id": "string",
"out_allocation_id": "string",
"allocation_id": "string"
}