## 示例
接口名称:提现列表
接口地址:域名/index.php?m=api&c=transaction&a=payoutList
请求方式:POST
数据类型:JSON
响应类型:JSON
请求参数:
| 参数名称 | 是否必须 | 类型 | 默认值 | 描述 |
| --- | --- | --- | --- | --- |
| uid | 否 | int | | 提现人uid |
| status | 否 | varchar | | 提现状态, paid已支付 pending提现中 cancelled 取消 |
响应数据:
| 参数名称 | 是否必须 | 类型 | 默认值 | 描述 |
| --- | --- | --- | --- | --- |
| message | 是 | string | | 返回信息 |
| code | 是 | int | | 状态码 |
| data | 是 | array / string | | json / false |
成功响应示列:
~~~
{
"code": 1001,
"message": "响应成功",
"data": {
"pagination": {
"total": 6,
"page_count": 0,
"current_page": 0,
"page_size": 0
},
"list": [
{
"id": "14",
"created_time": "1528424019",
"amount": "100.00",
"fee": "8.00",
"btb_amount": null,
"btb_rate": null,
"status": "Pending",
"uid": "81",
"username": "123",
"bitcoin_address": "rew12312jkljlklkards",
"bitcoin_name": "12323",
"wallet_type": "cash",
"date": "2018-06-08"
},
{
"id": "9",
"created_time": "1528423684",
"amount": "100.00",
"fee": "8.00",
"btb_amount": null,
"btb_rate": null,
"status": "Pending",
"uid": "81",
"username": "123",
"bitcoin_address": "rew12312jkljlklkards",
"bitcoin_name": "12323",
"wallet_type": "rewards",
"date": "2018-06-08"
}
]
}
}
~~~
失败响应示列:
~~~
{
"code": 2001,
"message": "响应失败",
"data": {
"status": "status类型非法"
}
}
~~~