获取提现请求列表

接口描述:

  • 获取提现请求列表。

请求 URL:

  • http|https://host/api/v1/withdraw/method/get.withdraw.list/

请求方式:

  • GET
  • POST

是否授权:

  • 需要授权

业务参数:

参数名 类型 是否必须 范围值 默认值 示例值 描述
withdraw_no string max:50 TX_H62383… 提现单号
status integer in:0,1,2,3,4 0 提现状态 0=待处理 1=处理中 2=已取消 3=已完成 4=已拒绝
begin_time datetime beforeTime:end_time 2017-06-07 11:08:10 开始时间
end_time datetime afterTime:begin_time 2017-07-07 11:08:10 结束时间
page_no integer gt:0 1 1 页码
page_size integer gt:0 15 15 每页数量
order_type string in:asc,desc asc desc 排序方式
order_field string 见附属 A withdraw_id status 排序字段

附属 A: in:withdraw_id,withdraw_no,create_time,update_time,status

响应参数:

参数名 类型 是否返回 示例值 描述
status integer 200 状态码
message string success 消息信息
data object [] 返回对象
data 类型 是否返回 示例值 描述
items array [] 列表项
total_result integer 5 合计计数
items 类型 是否返回 示例值 描述
withdraw_no string TX_H6238358225052790001 提现单号
user_id integer 1 账号编号
name string carey 收款人姓名
mobile string 13071297155 收款人手机
bank_name string 支付宝 收款账户
account string carey@carey.cn 收款账号
money number 100 提现金额
fee number 0 手续费(百分比)
amount number 100 合计金额
remark string 这是备注 提现备注
create_time datetime 2017-06-23 10:06:22 创建时间
update_time datetime 2017-06-23 10:09:21 更新时间
status integer 2 提现状态 0=待处理 1=处理中 2=已取消 3=已完成 4=已拒绝

响应示例:

  1. {
  2. "status": 200,
  3. "message": "success",
  4. "data": {
  5. "items": [
  6. {
  7. "withdraw_no": "TX_H6238358225052790001",
  8. "user_id": 1,
  9. "name": "carey",
  10. "mobile": "13071297155",
  11. "bank_name": "支付宝",
  12. "account": "carey@carey.cn",
  13. "money": 100,
  14. "fee": 0,
  15. "amount": 100,
  16. "remark": "",
  17. "create_time": "2017-06-23 10:06:22",
  18. "update_time": "2017-06-23 10:09:21",
  19. "status": 2
  20. },
  21. {
  22. "withdraw_no": "TX_H6238479678832110001",
  23. "user_id": 1,
  24. "name": "carey",
  25. "mobile": "13071297155",
  26. "bank_name": "支付宝",
  27. "account": "carey@carey.cn",
  28. "money": 99.99,
  29. "fee": 0,
  30. "amount": 99.99,
  31. "remark": "备注",
  32. "create_time": "2017-06-23 10:26:36",
  33. "update_time": "2017-06-23 16:28:49",
  34. "status": 3
  35. },
  36. {
  37. "withdraw_no": "TX_H6238547918993630001",
  38. "user_id": 1,
  39. "name": "carey",
  40. "mobile": "13071297155",
  41. "bank_name": "支付宝",
  42. "account": "carey@carey.cn",
  43. "money": 99.99,
  44. "fee": 6,
  45. "amount": 105.99,
  46. "remark": "账号不完整",
  47. "create_time": "2017-06-23 10:37:59",
  48. "update_time": "2017-06-23 17:12:04",
  49. "status": 4
  50. },
  51. {
  52. "withdraw_no": "TX_H6300542394601500001",
  53. "user_id": 1,
  54. "name": "carey",
  55. "mobile": "13071297155",
  56. "bank_name": "支付宝",
  57. "account": "carey@carey.cn",
  58. "money": 104.5,
  59. "fee": 6,
  60. "amount": 110.77,
  61. "remark": "",
  62. "create_time": "2017-06-30 14:50:24",
  63. "update_time": "2017-06-30 14:50:24",
  64. "status": 0
  65. },
  66. {
  67. "withdraw_no": "TX_H7079689041181850001",
  68. "user_id": 1,
  69. "name": "carey",
  70. "mobile": "13071297155",
  71. "bank_name": "支付宝",
  72. "account": "carey@carey.cn",
  73. "money": 0.03,
  74. "fee": 6,
  75. "amount": 0.03,
  76. "remark": "",
  77. "create_time": "2017-07-07 11:08:10",
  78. "update_time": "2017-07-07 11:08:10",
  79. "status": 0
  80. }
  81. ],
  82. "total_result": 5
  83. }
  84. }

备注:

  1. 该接口支持条件搜索,如果不带入业务参数则使用默认值。