3 Star 0 Fork 0

商城项目 / doc.weecot.com

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
account-withdraw-record.md 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
Jade 提交于 2021-03-11 17:16 . 充值提现

充值/提现记录

接口描述:

  • 充值/提现记录(account/records)

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 jade 2021-03-09 2021-03-09

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
Content-Type string 请求类型: application/json
token string 请求内容签名

请求参数:

参数名 是否必须 类型 说明
type Number 0-充值 1-提现
page Number 当前页
size Number 每页数量

返回示例:

充值正确时返回:

{
  "status": "success",
  "data": [
    {
      "amount": "-100.00",
      "add_time": "2021-03-09 18:16",
      "is_paid": "申请中",
    },
    ...
  ]
}

提现正确时返回:

{
  "status": "success",
  "data": [
    {
      "amount": "-100.00",
      "deposit_fee": "-1.00",
      "add_time": "2021-03-09 18:16",
      "is_paid": "申请中",
      "address": ""
    },
    ...
  ]
}

错误时返回:

{
    "status": 'failed',
    "errors": {
        'code': '404',
        'message': 'message'
    },
    "time": 1553515084
}

返回参数说明:

参数名 类型 说明
amount string 金额
deposit_fee string 手续费
add_time string 时间
is_paid string 状态
address string 地址

备注:

  • 更多返回错误代码请看首页的错误代码描述
其他
1
https://gitee.com/dscmall_test/doc.weecot.com.git
git@gitee.com:dscmall_test/doc.weecot.com.git
dscmall_test
doc.weecot.com
doc.weecot.com
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891