简要描述:
接口版本:
版本号 |
制定人 |
制定日期 |
修订日期 |
1.0.0 |
孙程 |
2019-07-01 |
|
请求URL:
请求方式:
请求头:
参数名 |
是否必须 |
类型 |
说明 |
Content-Type |
|
|
|
Content-MD5 |
|
|
|
请求参数:
参数名 |
是否必须 |
类型 |
说明 |
uid |
是 |
int |
用户id |
返回示例:
正确时返回(例子):
{
"msg": "请求成功",
"code": 0,
"data": {
"wallet": {
"wallet_id": 1,
"member_id": 99,
"amount": "22950.00",
"available_balance": "20901.70",
"frozen_balance": "2048.30",
"status": 1,
"remark": "",
"created_at": 1558005293,
"updated_at": 1561977577
},
"records": {
"current_page": 1,
"data": [
{
"id": 63,
"member_id": 99,
"payment_type": "balance",
"business_type": "recharge",
"serial_number": "62009900080721",
"balance_amount": "0.00",
"available_balance": "10951.70",
"balance_type": 1,
"service_charge": "0",
"remark": "not arrive",
"payaccount": "",
"receiptaccount": "",
"transactionamount": 10000,
"voucher": "",
"status": -1,
"created_at": 1561945262,
"updated_at": 1561977464
},
{
"id": 62,
"member_id": 99,
"payment_type": "balance",
"business_type": "recharge",
"serial_number": "61009900050487",
"balance_amount": "0.00",
"available_balance": "951.70",
"balance_type": 1,
"service_charge": "0",
"remark": "ok",
"payaccount": "",
"receiptaccount": "",
"transactionamount": -50,
"voucher": "",
"status": 1,
"created_at": 1561918851,
"updated_at": 1561977577
},
{
"id": 61,
"member_id": 99,
"payment_type": "balance",
"business_type": "recharge",
"serial_number": "60009900080247",
"balance_amount": "0.00",
"available_balance": "1001.70",
"balance_type": 1,
"service_charge": "0",
"remark": "Platform top-up",
"payaccount": "",
"receiptaccount": "",
"transactionamount": 0,
"voucher": "",
"status": 1,
"created_at": 1561918453,
"updated_at": 1561918453
},
{
"id": 60,
"member_id": 99,
"payment_type": "balance",
"business_type": "recharge",
"serial_number": "59009900030922",
"balance_amount": "0.00",
"available_balance": "1101.70",
"balance_type": 1,
"service_charge": "0",
"remark": "Platform top-up",
"payaccount": "",
"receiptaccount": "",
"transactionamount": 50,
"voucher": "",
"status": 0,
"created_at": 1561918439,
"updated_at": 1561918439
},
{
"id": 59,
"member_id": 99,
"payment_type": "balance",
"business_type": "recharge",
"serial_number": "58009900080309",
"balance_amount": "0.00",
"available_balance": "1051.70",
"balance_type": 1,
"service_charge": "0",
"remark": "Platform top-up",
"payaccount": "",
"receiptaccount": "",
"transactionamount": 0,
"voucher": "",
"status": 1,
"created_at": 1561918427,
"updated_at": 1561918427
}
],
"from": 1,
"last_page": 3,
"next_page_url": "http://192.168.1.167/union-shop/PHP/public/api/recharge_records?page=2",
"path": "http://192.168.1.167/union-shop/PHP/public/api/recharge_records",
"per_page": 5,
"prev_page_url": null,
"to": 5,
"total": 12
},
"banks": [
{
"id": 1,
"code": null,
"bank": "999 307 999 504 530 01",
"bank_name": "KBZ BANK",
"status": 1,
"created_at": 1561015383,
"updated_at": 1561015383
},
{
"id": 2,
"code": null,
"bank": "0030 201 01 017660 2",
"bank_name": "AYA Bank",
"status": 1,
"created_at": 1561015383,
"updated_at": 1561015383
},
{
"id": 3,
"code": null,
"bank": "201 151 081 151 4",
"bank_name": "AGDBANK",
"status": 1,
"created_at": 1561015383,
"updated_at": 1561015383
},
{
"id": 4,
"code": null,
"bank": "3571 0830 4974 8485",
"bank_name": "C B BANK",
"status": 1,
"created_at": 1561015383,
"updated_at": 1561015383
},
{
"id": 5,
"code": null,
"bank": "09-7704463077",
"bank_name": "WAVE MONEY",
"status": 1,
"created_at": 1561015383,
"updated_at": 1561015383
}
]
}
}
错误时返回:
返回参数说明:
参数名 |
类型 |
说明 |
wallet |
array |
用户钱包信息 |
records |
array |
用户充值记录, 记录中status: 0 未审核 1 审核通过 -1 审核失败 |
banks |
array |
平台银行卡信息 |
备注:
文档更新时间: 2019-07-15 19:51 作者:jetsamsun