接口描述:

  • 获取提现请求列表。

请求 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=已拒绝
account string max:80 carey 账号或昵称
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 between:1,40 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=已拒绝
get_user object [] 账号对象
get_user 类型 是否返回 示例值 描述
username string careya 账号
nickname string careya 昵称
head_pic string //host/head_pic.jpg 头像

响应示例:

  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. "get_user": {
  21. "username": "dnyz520",
  22. "nickname": "careya",
  23. "head_pic": "//host/head_pic.jpg"
  24. }
  25. },
  26. {
  27. "withdraw_no": "TX_H6238479678832110001",
  28. "user_id": 1,
  29. "name": "carey",
  30. "mobile": "13071297155",
  31. "bank_name": "支付宝",
  32. "account": "carey@carey.cn",
  33. "money": 99.99,
  34. "fee": 0,
  35. "amount": 99.99,
  36. "remark": "备注",
  37. "create_time": "2017-06-23 10:26:36",
  38. "update_time": "2017-06-23 16:28:49",
  39. "status": 3,
  40. "get_user": {
  41. "username": "dnyz520",
  42. "nickname": "careya",
  43. "head_pic": "//host/head_pic.jpg"
  44. }
  45. },
  46. {
  47. "withdraw_no": "TX_H6238547918993630001",
  48. "user_id": 1,
  49. "name": "carey",
  50. "mobile": "13071297155",
  51. "bank_name": "支付宝",
  52. "account": "carey@carey.cn",
  53. "money": 99.99,
  54. "fee": 6,
  55. "amount": 105.99,
  56. "remark": "账号不完整",
  57. "create_time": "2017-06-23 10:37:59",
  58. "update_time": "2017-06-23 17:12:04",
  59. "status": 4,
  60. "get_user": {
  61. "username": "dnyz520",
  62. "nickname": "careya",
  63. "head_pic": "//host/head_pic.jpg"
  64. }
  65. },
  66. {
  67. "withdraw_no": "TX_H6300542394601500001",
  68. "user_id": 1,
  69. "name": "carey",
  70. "mobile": "13071297155",
  71. "bank_name": "支付宝",
  72. "account": "carey@carey.cn",
  73. "money": 104.5,
  74. "fee": 6,
  75. "amount": 110.77,
  76. "remark": "",
  77. "create_time": "2017-06-30 14:50:24",
  78. "update_time": "2017-06-30 14:50:24",
  79. "status": 0,
  80. "get_user": {
  81. "username": "dnyz520",
  82. "nickname": "careya",
  83. "head_pic": "//host/head_pic.jpg"
  84. }
  85. },
  86. {
  87. "withdraw_no": "TX_H7079689041181850001",
  88. "user_id": 1,
  89. "name": "carey",
  90. "mobile": "13071297155",
  91. "bank_name": "支付宝",
  92. "account": "carey@carey.cn",
  93. "money": 0.03,
  94. "fee": 6,
  95. "amount": 0.03,
  96. "remark": "",
  97. "create_time": "2017-07-07 11:08:10",
  98. "update_time": "2017-07-07 11:08:10",
  99. "status": 0,
  100. "get_user": {
  101. "username": "dnyz520",
  102. "nickname": "careya",
  103. "head_pic": "//host/head_pic.jpg"
  104. }
  105. }
  106. ],
  107. "total_result": 5
  108. }
  109. }

备注:

  1. 该接口支持条件搜索,如果不带入业务参数则使用默认值。
文档更新时间: 2018-05-21 16:17