feat(wxapi): 新增小程序支付管理服务订单相关接口

This commit is contained in:
Fu Diwei
2022-06-20 10:10:40 +08:00
parent 5d753ff8f4
commit 3af9e2ea9e
16 changed files with 634 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{
"openid": "oTVP50O53a7jgmawAmxKukNlq3XI",
"combine_trade_no": "P20150806125346",
"sub_orders": [
{
"mchid": "1900000109",
"trade_no": "20150806125346"
}
]
}

View File

@@ -0,0 +1,13 @@
{
"openid": "oTVP50O53a7jgmawAmxKukNlq3XI",
"combine_trade_no": "P20150806125346",
"expire_time": 1647360558,
"sub_orders": [
{
"mchid": "1230000109",
"amount": 100,
"trade_no": "20150806125346",
"description": "Image形象店 - 深圳腾大 -QQ 公仔"
}
]
}

View File

@@ -0,0 +1,11 @@
{
"errcode": 0,
"errmsg": "ok",
"payment_params": {
"timeStamp": 1639124652,
"nonceStr": "123",
"package": "prepay_id=123",
"paySign": "12904324823458940394",
"signType": "MD5"
}
}

View File

@@ -0,0 +1,7 @@
{
"begin_create_time": 1648137600,
"end_create_time": 1648173600,
"last_index": "12345",
"page_size": 10,
"mchid": "1230000109"
}

View File

@@ -0,0 +1,7 @@
{
"errcode": 0,
"errmsg": "ok",
"has_more": true,
"last_index": "12345",
"trade_no_list": ["12345"]
}

View File

@@ -0,0 +1,3 @@
{
"trade_no": "123455"
}

View File

@@ -0,0 +1,39 @@
{
"errcode": 0,
"errmsg": "ok",
"order": {
"trade_no": "522346",
"transaction_id": "4302900974202204024351451925",
"combine_trade_no": "512346",
"mchid": "1623426221",
"create_time": 1648880172,
"update_time": 1648880485,
"pay_time": 1648880315,
"expire_time": 1651161600,
"amount": 1,
"description": "测试商品",
"refund_list": [
{
"amount": 1,
"create_time": 1648880476,
"finish_time": 1648880483,
"result": "SUCCESS",
"refund_id": "50301901362022040218937476250",
"refund_no": "522347"
}
],
"profit_sharing_list": [
{
"mchid": "1623426221",
"amount": 1,
"create_time": 1648880985,
"finish_time": 1648881016,
"result": "SUCCESS",
"profit_sharing_id": "30002107912022040228952584675",
"profit_sharing_no": "512341"
}
],
"profit_sharing_delay": 30,
"profit_sharing_frozen": 0
}
}