feat(wxapi): 新增交易组件资金管理相关接口

This commit is contained in:
Fu Diwei
2021-09-18 13:56:38 +08:00
parent 9b1f2407b5
commit 66a237923e
29 changed files with 798 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"available_amount": 45331,
"pending_amount": 7549,
"sub_mchid": "1588759201"
}

View File

@@ -0,0 +1,3 @@
{
"order_id": 1651031426690650
}

View File

@@ -0,0 +1,15 @@
{
"order_flow": {
"order_id": 1651031426690650,
"status": "ORDER_FLOW_STATUS_TRANSACTION_PENDING_SETTLED",
"price": 1,
"order_price": 1,
"discount_fee": 0,
"service_fee": 0,
"handling_fee": 0,
"refund_fee": 0,
"settled_time": 0,
"order_time": 1625390752,
"refunding_type": 0
}
}

View File

@@ -0,0 +1,3 @@
{
"out_request_no": "wd13675014323600561372"
}

View File

@@ -0,0 +1,11 @@
{
"amount": 7,
"create_time": 1590733930,
"update_time": 1590773555,
"reason": "",
"remark": "0529日14点31分提现",
"bank_memo": "0529日14点31分提现",
"bank_name": "",
"bank_num": "",
"status": "SUCCESS"
}

View File

@@ -0,0 +1,4 @@
{
"page_num": 1,
"page_size": 100
}

View File

@@ -0,0 +1,30 @@
{
"order_flow": [
{
"order_id": 123456789123,
"status": "ORDER_FLOW_STATUS_TRANSACTION_PENDING_SETTLED",
"price": 1,
"order_price": 1,
"discount_fee": 0,
"service_fee": 0,
"handling_fee": 0,
"refund_fee": 0,
"settled_time": 0,
"order_time": 1625834352,
"refunding_type": 0
},
{
"order_id": 12345678229,
"status": "ORDER_FLOW_STATUS_TRANSACTION_PENDING_SETTLED",
"price": 1,
"order_price": 1,
"discount_fee": 0,
"service_fee": 0,
"handling_fee": 0,
"refund_fee": 0,
"settled_time": 0,
"order_time": 1625832229,
"refunding_type": 0
}
]
}

View File

@@ -0,0 +1,4 @@
{
"page_num": 1,
"page_size": 10
}

View File

@@ -0,0 +1,25 @@
{
"list": [
{
"out_request_no": "3163339305837870",
"amount": 1,
"status": "SUCCESS",
"reason": "",
"remark": "",
"bank_memo": "",
"wxpay_update_time": 1594408007,
"wxpay_create_time": 1594365375
},
{
"out_request_no": "180687538055",
"amount": 1,
"status": "SUCCESS",
"reason": "",
"remark": "",
"bank_memo": "",
"wxpay_update_time": 1594404381,
"wxpay_create_time": 1594365335
}
],
"total_num": 103
}

View File

@@ -0,0 +1,8 @@
{
"account_info": {
"bank_account_type": "ACCOUNT_TYPE_PRIVATE",
"account_bank": "招商银行",
"bank_address_code": "100000",
"account_number": "1234567890"
}
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"errmsg": "OK"
}

View File

@@ -0,0 +1,5 @@
{
"amount": 1,
"remark": "sss",
"bank_memo": ""
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "OK",
"qrcode_ticket": "xxxxx"
}