feat(tenpayv3): 独立化境外支付 API

This commit is contained in:
Fu Diwei
2024-05-06 20:50:58 +08:00
parent 2e19fc8aa1
commit 9b18df8f2e
850 changed files with 2016 additions and 1088 deletions

View File

@@ -0,0 +1,4 @@
{
"transaction_id": "4208450740201411110007820472",
"unsplit_amount": 1000
}

View File

@@ -0,0 +1,5 @@
{
"download_url": "https://api.mch.weixin.qq.com/v3/billdownload/file?token=6XIv5TUPto7pByrTQKhd6kwvyKLG2uY2wMMR8cNXqaA_Cv_isgaUtBzp4QtiozLO",
"hash_type": "SHA1",
"hash_value": "8823044c286bea726f149bfcfce0b0318122d755"
}

View File

@@ -0,0 +1,17 @@
{
"sub_mchid": "1900000109",
"appid": "wx8888888888888888",
"sub_appid": "wx8888888888888889",
"transaction_id": "4208450740201411110007820472",
"out_order_no": "P20150806125346",
"receivers": [
{
"type": "MERCHANT_ID",
"account": "86693852",
"name": "hu89ohu89ohu89o",
"amount": 888,
"description": "分给商户A"
}
],
"unfreeze_unsplit": true
}

View File

@@ -0,0 +1,20 @@
{
"sub_mchid": "1900000109",
"transaction_id": "4208450740201411110007820472",
"out_order_no": "P20150806125346",
"order_id": "3008450740201411110007820472",
"state": "FINISHED",
"receivers": [
{
"amount": 100,
"description": "分给商户1900000110",
"type": "MERCHANT_ID",
"account": "1900000109",
"detail_id": "36011111111111111111111",
"result": "SUCCESS",
"fail_reason": "ACCOUNT_ABNORMAL",
"create_time": "2015-05-20T13:29:35.120+08:00",
"finish_time": "2015-05-20T13:29:35.120+08:00"
}
]
}

View File

@@ -0,0 +1,7 @@
{
"order_id": "3008450740201411110007820472",
"out_return_no": "R20190516001",
"return_mchid": "86693852",
"amount": 10,
"description": "用户退款"
}

View File

@@ -0,0 +1,13 @@
{
"order_id": "3008450740201411110007820472",
"out_order_no": "P20150806125346",
"out_return_no": "R20190516001",
"return_id": "3008450740201411110007820472",
"return_mchid": "86693852",
"amount": 10,
"description": "用户退款",
"result": "SUCCESS",
"fail_reason": "TIME_OUT_CLOSED",
"create_time": "2015-05-20T13:29:35.120+08:00",
"finish_time": "2015-05-20T13:29:35.120+08:00"
}

View File

@@ -0,0 +1,20 @@
{
"sub_mchid": "1900000109",
"transaction_id": "4208450740201411110007820472",
"out_order_no": "P20150806125346",
"order_id": "3008450740201411110007820472",
"state": "FINISHED",
"receivers": [
{
"amount": 100,
"description": "分给商户1900000110",
"type": "MERCHANT_ID",
"account": "1900000109",
"detail_id": "36011111111111111111111",
"result": "SUCCESS",
"fail_reason": "ACCOUNT_ABNORMAL",
"create_time": "2015-05-20T13:29:35.120+08:00",
"finish_time": "2015-05-20T13:29:35.120+08:00"
}
]
}

View File

@@ -0,0 +1,14 @@
{
"sub_mchid": "1900000109",
"order_id": "3008450740201411110007820472",
"out_order_no": "P20150806125346",
"out_return_no": "R20190516001",
"return_id": "3008450740201411110007820472",
"return_mchid": "86693852",
"amount": 10,
"description": "用户退款",
"result": "SUCCESS",
"fail_reason": "TIME_OUT_CLOSED",
"create_time": "2015-05-20T13:29:35.120+08:00",
"finish_time": "2015-05-20T13:29:35.120+08:00"
}

View File

@@ -0,0 +1,4 @@
{
"sub_mchid": "1900000109",
"max_ratio": 2000
}

View File

@@ -0,0 +1,8 @@
{
"appid": "wx8888888888888888",
"type": "MERCHANT_ID",
"account": "86693852",
"name": "hu89ohu89ohu89o",
"relation_type": "STORE",
"custom_relation": "代理商"
}

View File

@@ -0,0 +1,6 @@
{
"type": "MERCHANT_ID",
"account": "86693852",
"name": "hu89ohu89ohu89o",
"relation_type": "STORE"
}

View File

@@ -0,0 +1,7 @@
{
"sub_mchid": "1900000109",
"appid": "wx8888888888888888",
"sub_appid": "wx8888888888888889",
"type": "MERCHANT_ID",
"account": "86693852"
}

View File

@@ -0,0 +1,5 @@
{
"sub_mchid": "1900000109",
"type": "MERCHANT_ID",
"account": "1900000109"
}

View File

@@ -0,0 +1,6 @@
{
"sub_mchid": "1900000109",
"transaction_id": "4208450740201411110007820472",
"out_order_no": "P20150806125346",
"description": "解冻全部剩余资金"
}

View File

@@ -0,0 +1,20 @@
{
"sub_mchid": "1900000109",
"transaction_id": "4208450740201411110007820472",
"out_order_no": "P20150806125346",
"order_id": "3008450740201411110007820472",
"state": "FINISHED",
"receivers": [
{
"amount": 100,
"description": "分给商户1900000110",
"type": "MERCHANT_ID",
"account": "1900000109",
"detail_id": "36011111111111111111111",
"result": "SUCCESS",
"fail_reason": "ACCOUNT_ABNORMAL",
"create_time": "2015-05-20T13:29:35.120+08:00",
"finish_time": "2015-05-20T13:29:35.120+08:00"
}
]
}