# 查看用户个人账户信息
# 调用方式: GET
# 接口地址:
https://api.freelog.com/v2/accounts/individualAccounts/{userId}
1
# url传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
userId | 必选 | int | 当前登录用户ID |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
accountId | string | 账户ID |
accountName | string | 账户名称 |
accountType | int | 账户类型 (1:个人 2:合约 3:节点 4:组织或公司) |
ownerId | string | 账户所有者ID |
ownerName | string | 账户所属者名称 |
ownerUserId | int | 账户所属者用户ID |
balance | string | 余额 |
freezeBalance | string | 冻结的金额 |
accountName | string | 账户名称 |
status | int | 状态 0:未激活 1:正常 2:冻结 |
updateDate | datetime | 账户数据最后更新时间 |
# 返回示例
{
"ret": 0,
"errCode": 0,
"errcode": 0,
"msg": "success",
"data": {
"accountId": "233332382945822",
"accountName": "yuliang",
"accountType": 1,
"ownerId": "50021",
"ownerName": "yuliang",
"ownerUserId": 50021,
"balance": "1200.00",
"freezeBalance": "0.00",
"status": 1,
"createDate": "2021-04-30T08:30:05.287Z",
"updateDate": "2021-05-07T06:29:26.000Z"
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
← 分页查询账户交易流水 查询交易记录详情 →