feat(tenpaybusiness): 随官方更新部分接口模型

This commit is contained in:
Fu Diwei
2023-04-10 22:21:32 +08:00
parent 31ad3bec49
commit b105be0a0d
82 changed files with 917 additions and 675 deletions

View File

@@ -1,4 +1,4 @@
{
{
"api_version": "",
"event_id": "",
"event_type": "product.application.finish",
@@ -13,13 +13,8 @@
"product_details": [
{
"product_name": "",
"status": "",
"accounts": [
{
"ent_acct_id": ""
}
]
"status": ""
}
]
}
}
}

View File

@@ -0,0 +1,4 @@
{
"billDate": "2022-12-12",
"billType": "ALL"
}

View File

@@ -0,0 +1,5 @@
{
"hash_type": "SHA256",
"hash_value": "79bb0f45fc4c42234a918000b2668d689e2bde04",
"download_url": "https://api.business.qq.com/v3/mse-pay/bill-downloads/file?token=xxx"
}

View File

@@ -0,0 +1,5 @@
{
"bill_Date": "string",
"bill_Type": "TRANS_ALL",
"ent_id": "stringstri"
}

View File

@@ -0,0 +1,5 @@
{
"hash_type": "SHA256",
"hash_value": "79bb0f45fc4c42234a918000b2668d689e2bde04",
"download_url": "https://api.business.qq.com/v3/mse-pay/bill-downloads/trans/file?token=xxx"
}

View File

@@ -1,5 +0,0 @@
{
"download_url": "",
"expire_time": "2021-06-08T10:34:56+08:00",
"bill_status": ""
}

View File

@@ -1,6 +0,0 @@
{
"payment_id": "",
"out_payment_id": "",
"status": "",
"close_time": "2021-06-08T10:34:56+08:00"
}

View File

@@ -1,33 +0,0 @@
{
"purchaser_type": "",
"out_payment_id": "",
"amount": 0,
"currency": "",
"expire_time": "2021-06-08T10:34:56+08:00",
"payee": {
"ent_id": "",
"ent_name": "",
"ent_acct_id": "",
"bank_account_number_last4": ""
},
"memo": "",
"goods": [
{
"good_name": "",
"good_number": "0",
"good_amount": "0"
}
],
"attachment": "",
"risk_control": {
"device_id": "",
"payer_client_ip": "",
"payer_ua": "",
"create_time": "2021-06-08T10:34:56+08:00",
"pick_type": "",
"pick_description": ""
},
"notify_url": {
"server_notify_url": ""
}
}

View File

@@ -1,14 +0,0 @@
{
"payment_id": "",
"out_payment_id": "",
"amount": 0,
"currency": "",
"payee": {
"ent_id": "",
"ent_name": "",
"ent_acct_id": "",
"bank_account_number_last4": ""
},
"pay_status": "",
"memo": ""
}

View File

@@ -1,20 +0,0 @@
{
"payment_id": "",
"out_payment_id": "",
"user_openid": "",
"amount": 0,
"currency": "",
"payee": {
"ent_id": "",
"ent_name": "",
"ent_acct_id": "",
"bank_account_number_last4": ""
},
"pay_status": "",
"memo": "",
"failed_reason": {
"failed_type": "",
"failed_detail": ""
},
"attachment": ""
}

View File

@@ -1,6 +0,0 @@
{
"pc_web": {
"url": "",
"expire_time": "2020-01-01T01:02:03+08:00"
}
}

View File

@@ -1,42 +0,0 @@
{
"out_request_no": "",
"business_license": {
"business_register_type": "",
"unified_social_credit_code": "",
"merchant_name": "",
"merchant_short_name": "",
"legal_person_name": "",
"validity_period": [ "2024-01-01", "长期" ],
"photocopy_file_id": ""
},
"legal_person_id_card": {
"name": "",
"number": "",
"validity_period": [ "2024-01-01", "长期" ],
"front_photocopy_file_id": "",
"back_photocopy_file_id": ""
},
"contact_info": {
"mobile_number": ""
},
"payee_accounts": [
{
"account_type": "",
"bank_account_name": "",
"bank_account_number": "",
"bank_name": "",
"bank_branch_id": "",
"bank_branch_name": ""
}
],
"products": [
{
"product_name": ""
}
],
"notify_url": {
"server_notify_url": "",
"web_success_url": "",
"web_refresh_url": ""
}
}

View File

@@ -1,17 +0,0 @@
{
"request_no": "",
"out_request_no": "",
"ent_id": "",
"status": "",
"product_details": [
{
"product_name": "",
"status": "",
"accounts": [
{
"ent_acct_id": ""
}
]
}
]
}

View File

@@ -1,19 +0,0 @@
{
"pc_web": {
"url": "",
"expire_time": "2020-01-01T01:02:03+08:00"
},
"pc_plugin": {
"key": "",
"expire_time": "2020-01-01T01:02:03+08:00"
},
"wx_qrcode": {
"url": ""
},
"miniprogram": {
"mp_path": "",
"mp_appid": "",
"mp_username": "",
"expire_time": "2020-01-01T01:02:03+08:00"
}
}

View File

@@ -0,0 +1,3 @@
{
"close_reason": "string"
}

View File

@@ -0,0 +1,6 @@
{
"payment_id": "string",
"out_payment_id": "string",
"status": "PROCESSING",
"close_time": "2022-11-15T13:25:18.000+00:00"
}

View File

@@ -0,0 +1,44 @@
{
"purchaser_type": "string",
"out_payment_id": "string",
"amount": 0,
"currency": "CNY",
"expire_time": "2022-11-15T13:25:18.000+00:00",
"payee": {
"ent_id": "stringstri",
"ent_name": "string"
},
"payer": {
"bank_account_numbers": [ "string" ]
},
"memo": "string",
"goods": [
{
"good_name": "string",
"good_number": 0,
"good_amount": 0
}
],
"attachment": "string",
"risk_control": {
"device_id": "string",
"payer_client_ip": "string",
"payer_ua": "string",
"create_time": "2022-11-15T13:25:18.000+00:00",
"pick_type": "SELF_PICK",
"pick_description": "string"
},
"notify_url": {
"server_notify_url": "string",
"front_callback_url": {
"h5_url": "string"
}
},
"scene_info": {
"store_info": {
"id": "string",
"name": "string",
"area_code": "string"
}
}
}

View File

@@ -0,0 +1,13 @@
{
"payment_id": "string",
"out_payment_id": "string",
"amount": 0,
"currency": "CNY",
"payee": {
"ent_id": "string",
"ent_name": "string"
},
"pay_status": "PROCESSING",
"memo": "string",
"attachment": "string"
}

View File

@@ -0,0 +1,4 @@
{
"id": "string",
"payment_id": "string"
}

View File

@@ -0,0 +1,20 @@
{
"static_qrcode": {
"static_qrcode": "string"
},
"mini_program": {
"mp_appid": "string",
"mp_path": "string",
"mp_username": "string",
"mp_version": "string"
},
"wx_h5": {
"wx_h5": "string"
},
"app_h5": {
"app_h5": "string"
},
"wecom_h5": {
"url": "string"
}
}

View File

@@ -0,0 +1,19 @@
{
"payment_id": "string",
"out_payment_id": "string",
"amount": 0,
"currency": "",
"payer": {
"payer_id": "string",
"out_payer_id": "string",
"payer_acct_last4": "1010"
},
"payee": {
"ent_id": "string",
"ent_name": "string"
},
"pay_status": "PROCESSING",
"memo": "string",
"attachment": "string",
"pay_time": "2022-11-15 13:25:18"
}

View File

@@ -0,0 +1,6 @@
{
"pc_web": {
"url": "string",
"expire_time": "2022-11-15T13:25:18.000+00:00"
}
}

View File

@@ -0,0 +1,40 @@
{
"out_request_no": "string",
"products": [
{
"product_name": "MSE_PAY"
}
],
"business_license": {
"business_register_type": "ENTERPRISE",
"unified_social_credit_code": "string",
"merchant_name": "string",
"merchant_short_name": "string",
"legal_person_name": "string",
"validity_period": [ "string", "string" ],
"photocopy_file_id": "string"
},
"legal_person_id_card": {
"name": "string",
"number": "string",
"validity_period": [ "string", "string" ],
"front_photocopy_file_id": "string",
"back_photocopy_file_id": "string"
},
"notify_url": {
"server_notify_url": "string",
"web_success_url": "string",
"web_refresh_url": "string"
},
"contact_info": { "mobile_number": "string" },
"payee_accounts": [
{
"account_type": "ENTERPRISE_ACCOUNT",
"bank_account_name": "string",
"bank_account_number": "string",
"bank_branch_id": "string",
"bank_branch_name": "string",
"bank_name": "string"
}
]
}

View File

@@ -0,0 +1,4 @@
{
"request_no": "string",
"out_request_no": "string"
}

View File

@@ -0,0 +1,12 @@
{
"request_no": "string",
"out_request_no": "string",
"ent_id": "string",
"status": "PROCESSING",
"product_details": [
{
"product_name": "string",
"status": "PROCESSING"
}
]
}

View File

@@ -1,6 +1,6 @@
{
{
"TestConfig": {
"PlatformId": "请在此填写用于测试的微商户号",
"PlatformId": "请在此填写用于测试的微企付商户号",
"PlatformCertSerialNumber": "请在此填写用于测试的微企付平台 API 证书序列号",
"PlatformCertPrivateKey": "请在此填写用于测试的微企付平台 API 证书私钥(字符串格式)",
"TBEPCertSerialNumber": "请在此填写用于测试的微企付证书序列号",