文 档 中 心 / Document Center
搜索 管理中心
壹川接口文档V3
获取指定银行卡信息
更新时间:2018-04-26 18:14:41   更新人员:叶洋   文档状态:完成 #254    测试接口
摘要
  1. 接口基本信息
    接口名称:获取指定的账户银行卡信息
    请求方法:GET
    接口地址:bankcard/:id
    登录验证:是
  2. 路由参数
    参数名 参数 数据类型 是否必须 示例值 说明
    id 银行卡id编号 int
  3. 响应数据参数
    参数名 参数 数据类型 示例值 说明
    id 序号 int
    create_time 添加时间 string
    create_by{} 添加人 object
    ├ uid ├ 添加人uid string
    ├ code ├ 添加人code string
    ├ username ├ 添加人用户名 string
    ├ nickname ├ 添加人昵称 string
    └ realname └ 添加人真实姓名 string
    update_time 更新时间 string
    update_by{} 更新人 object
    ├ uid ├ 更新人uid string
    ├ code ├ 更新人code string
    ├ username ├ 更新人用户名 string
    ├ nickname ├ 更新人昵称 string
    └ realname └ 更新人真实姓名 string
    account_id 账户id string
    card_type 银行卡类型 int
    is_verify 验证状态 int 1验证通过 0未验证
    card_no 银行卡卡号 string
    card_bin 银行卡卡bin string 卡号前6位
    cardholder 持卡人姓名 string
    mobile 绑定手机号 string
    account_info{} 账户信息 object account_info
    ├ atype ├ 账户类型 int
    ├ linkid ├ 组织联接 string
    ├ account_name ├ 账户名称 string
    ├ contacts ├ 账户联系人 string
    └ mobile └ 联系人手机 string
  4. 请求示例
    请求例子:
     
    apirq('bankcard/:id', {
        data: {
            "id": 11
        },
        urlparams: [
            "id"
        ]
    }) 
    
    返回数据结果:
     
    {
        "code": 0,
        "msg": "ok",
        "time": "1524736121",
        "data": {
            "id": 11,
            "create_time": "2018-04-26 17:14:58",
            "create_by": {
                "uid": "0000000000000001",
                "code": "U1000000",
                "username": "administrator",
                "nickname": "超级管理员",
                "realname": "超级管理员"
            },
            "update_time": "2018-04-26 17:18:14",
            "update_by": {
                "uid": "0000000000000001",
                "code": "U1000000",
                "username": "administrator",
                "nickname": "超级管理员",
                "realname": "超级管理员"
            },
            "account_id": "0000000000000003",
            "card_type": 1,
            "is_verify": 0,
            "bank": "莱商银行北京支行",
            "card_no": "6282791234555677",
            "card_bin": "628279",
            "mobile": "13712451176",
            "cardholder": "编辑一下",
            "account_info": {
                "account_id": "0000000000000003",
                "code": "",
                "atype": 3,
                "linkid": "1000000000000000",
                "status": 1,
                "atype_name": "机构",
                "account_name": "天天向上2",
                "contacts": "李白",
                "mobile": "13212345678",
                "tel": "0281324567",
                "email": ""
            }
        }
    } 
    
本书创建于 2018-03-30 12:03:13 ?如有疑问,请联系技术人员