文 档 中 心 / Document Center
搜索 管理中心
壹川接口文档V3
获取管辖账户列表
更新时间:2018-04-25 17:58:48   更新人员:叶洋   文档状态:完成 #238    测试接口
摘要
获取管辖账户列表
  1. 接口基本信息
    接口名称:获取账户列表
    请求方法:GET
    接口地址:account
    登录验证:是
  2. 请求参数
    参数名 参数 数据类型 是否必须 示例值 说明
    page 分页 int 1
    row 每页数量 int 15
  3. 响应数据参数
    参数名 参数 数据类型 示例值 说明
    account_id 账户id string
    atype 账户类型 int 1:系统,2:商户,3:机构,4:网点,0:个人
    linkid 关联户主 string
    status 状态 int 1启用 0禁用
    total_amount 总金额 float
    deposit_line 保障金线 float 系统为账户设置的保障金额度
    deposit_amount 保障金金额 float 账户实际存入的保障金金额
    reservation_amount 备用金 float 备用金金额
    usable_amount 可用余额 float 账户可用余额
    code 账户code string
    freeze_amount 冻结金额 float 冻结金额
    donation_amount 赠送金额 float 赠送金额
    expense_amount 累计支出 float 累计支出
    income_amount 累计收入 string 累计收入
    revenue_amount 累计分成收入 float 累计分成收入
    recharge_amount 累计充值 float 累计充值
    withdraw_amount 累计提现 float 累计提现
    penalty_amount 累计处罚 float 累计处罚金额
    atype_name 类型名 string
    account_name 账户名称 string
    contacts 联系人 string atype>0时才有的项
    uname 用户名 string atype=0时才有的项
    mobile 手机号 string
    tel 座机号 string
    email 户主邮箱 string
  4. 请求示例
    请求例子:
     
    apirq('account', {
        data: {
            "row": 2,
            "page": 4
        }
    }) 
    
    返回数据结果:
     
    {
        "code": 0,
        "msg": "ok",
        "time": "1524645333",
        "data": {
            "page": 4,
            "row": 2,
            "count": 2,
            "total_count": 14,
            "total_page": 7,
            "lists": [
                {
                    "account_id": "3255cb569a2b9ada",
                    "code": "",
                    "atype": 4,
                    "linkid": "c84dfc14b0fe119f",
                    "status": 1,
                    "total_amount": "0.0000",
                    "deposit_line": "0.0000",
                    "deposit_amount": "0.0000",
                    "reservation_amount": "0.0000",
                    "usable_amount": "0.0000",
                    "freeze_amount": "0.0000",
                    "donation_amount": "0.0000",
                    "expense_amount": "0.0000",
                    "income_amount": "0.0000",
                    "revenue_amount": "0.0000",
                    "recharge_amount": "0.0000",
                    "withdraw_amount": "0.0000",
                    "penalty_amount": "0.0000",
                    "atype_name": "网点",
                    "account_name": "Netpoint",
                    "contacts": "王小虎",
                    "mobile": "13244446666",
                    "tel": "031248231",
                    "email": ""
                },
                {
                    "account_id": "38b4df0f678f5e1c",
                    "code": "",
                    "atype": 3,
                    "linkid": "dc332415f1c87f9b",
                    "status": 1,
                    "total_amount": "0.0000",
                    "deposit_line": "0.0000",
                    "deposit_amount": "0.0000",
                    "reservation_amount": "0.0000",
                    "usable_amount": "0.0000",
                    "freeze_amount": "0.0000",
                    "donation_amount": "0.0000",
                    "expense_amount": "0.0000",
                    "income_amount": "0.0000",
                    "revenue_amount": "0.0000",
                    "recharge_amount": "0.0000",
                    "withdraw_amount": "0.0000",
                    "penalty_amount": "0.0000",
                    "atype_name": "机构",
                    "account_name": "Company",
                    "contacts": "李白",
                    "mobile": "13212345678",
                    "tel": "0281324567",
                    "email": ""
                }
            ]
        }
    } 
    
本书创建于 2018-03-30 12:03:13 ?如有疑问,请联系技术人员