# 登录用户关联金融登账户信息查询

# 调用方式: GET

# 接口地址:

https://api.freelog.com/v3/transactions/accounts/query
1

# url传入参数说明:

参数 必选 类型及范围 说明
accountType 必选 int 账户类型(1:个人账户 2:节点账户)
ownerId 必选 int 账户所有者ID; 根据账户类型动态赋值userId或nodeId

# 返回说明:

返回值字段 字段类型 字段说明
id string 金融账户ID
accountType string 账户类型(1:个人账户 2:节点账户)
ownerId int 账户所有者ID; 根据账户类型动态赋值userId或nodeId
ownerName string 账户所有者名称
ownerUserId int 账户所属者对应的用户ID
ownerUserName stirng 账户所属者对应的用户名称
currencyType int 货币类型 1:人民币 2:美元
totalBalance number 余额
availableBalance number 可用余额
freezeBalance number 冻结金额
status int 状态 1:正常 2:冻结

# 返回示例:

{
  "ret": 0,
  "errCode": 0,
  "data": {
    "id": "790778769057517568",
    "accountType": 1,
    "ownerId": 50017,
    "ownerName": "yuliang",
    "ownerUserId": 50017,
    "ownerUserName": "yuliang",
    "currencyType": 1,
    "totalBalance": 0,
    "availableBalance": 0,
    "freezeBalance": 0,
    "status": 1,
    "createDate": "2025-12-10T09:05:06.174Z",
    "updateDate": "2025-12-10T09:05:06.731Z"
  },
  "msg": "success"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20