test(tenpayv3): 适配新的模型测试

This commit is contained in:
Fu Diwei 2021-07-06 13:06:47 +08:00
parent 865a424f10
commit 765c80e2da
20 changed files with 153 additions and 0 deletions

View File

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

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,19 @@
{
"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",
"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,19 @@
{
"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",
"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,19 @@
{
"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",
"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"
}
]
}