# 登录用户关联金融登账户信息查询
# 调用方式: GET
# 接口地址:
url1: https://api.freelog.com/v3/transactions/accounts/query
url2: https://api.freelog.com/v3/transactions/accounts/{accountId}
1
2
2
# url1传入参数说明:
| 参数 | 必选 | 类型及范围 | 说明 |
|---|---|---|---|
| accountType | 必选 | int | 账户类型(1:资源创作者账户 2:节点商账户) |
| ownerId | 必选 | int | 账户所有者ID; 根据账户类型动态赋值userId或nodeId |
# url2传入参数说明:
| 参数 | 必选 | 类型及范围 | 说明 |
|---|---|---|---|
| accountId | 必选 | string | 账户ID |
# 返回说明:
| 返回值字段 | 字段类型 | 字段说明 |
|---|---|---|
| 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:冻结 |
| certType | stirng | 证件类型 00:身份证 |
| certName | string | 证件上的名称 |
| certNo | string | 证件号码 |
| certValidityType | int | 是否长期有效 0:否 1:是 |
| certBeginDate | date | 证件有效期开始日期 |
| certEndDate | date | 证件有效期截止日期 |
# 返回示例:
{
"ret": 0,
"errCode": 0,
"data": {
"accountType": 1,
"ownerId": 50017,
"ownerName": "yuliang",
"ownerUserId": 50017,
"ownerUserName": "yuliang",
"channelType": 1,
"currencyType": 1,
"totalBalance": 1.07,
"availableBalance": 1.07,
"freezeBalance": 0,
"totalIncomeAmount": 0.08,
"totalExpenditureAmount": 0,
"latestTransactionDate": "2025-12-19T08:03:47.263Z",
"certType": "00",
"certNo": "**************4719",
"certName": "**亮",
"certValidityType": 0,
"certBeginDate": "2020-10-08",
"certEndDate": "2040-10-08",
"status": 1,
"createDate": "2025-12-10T09:05:06.174Z",
"updateDate": "2025-12-19T08:03:47.738Z",
"id": "790778769057517568"
},
"msg": "success"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30