# 分页查询账户交易流水

# 调用方式: GET

# 接口地址:

https://api.freelog.com/v2/transactions/details/{accountId}
1

# url传入参数说明:

参数 必选 类型及范围 说明
skip 可选 int 跳过的数量.默认为0.
limit 可选 int 本次请求获取的数据条数.一般不允许超过100
accountId 必选 string 账户ID
startCreatedDate 可选 data 开始日期
endCreatedDate 可选 data 截止日期
endCreatedDate 可选 data 截止日期
amountStartPoint 可选 float 交易额度区间(最小值)
amountEndPoint 可选 float 交易额度区间(最大值)
serialNo 可选 string 交易流水号
status 可选 int 交易状态:1.交易确认中 2:交易成功 3:交易关闭
keywords 可选 string 搜索关键字(0-128长度)

# 返回说明:

返回值字段 字段类型 字段说明
serialNo string 流水号
transactionRecordId string 交易记录ID
accountId string 账户ID
accountName string 账户名称
accountType int 账户类型 (1:个人 2:合约 3:节点 4:组织或公司)
reciprocalAccountId string 对方账户ID
reciprocalAccountName string 对方账户名称
reciprocalAccountType int 对方账户类型 (1:个人 2:合约 3:节点 4:组织或公司)
transactionAmount string 交易金额
beforeBalance string 交易前账户金额
afterBalance string 交易后账户金额
transactionType int 交易类型 1:转账 2:合约交易
remark string 备注信息
digest string 摘要信息,交易说明
attachInfo object 附属信息,例如合约交易时的合约信息
status int 状态 1:交易确认中 2:交易成功 3:交易关闭
createDate date 创建日期
updateDate date 最后更新日期

# 返回示例

{
	"ret": 0,
	"errCode": 0,
	"errcode": 0,
	"msg": "success",
	"data": {
		"skip": 0,
		"limit": 10,
		"totalItem": 6,
		"dataList": [{
			"serialNo": "217085123553271809",
			"transactionRecordId": "217085123507134464",
			"accountId": "233332382945822",
			"accountType": 1,
			"accountName": "yuliang",
			"reciprocalAccountId": "508943564893849",
			"reciprocalAccountType": 4,
			"reciprocalAccountName": "test-freelog",
			"transactionAmount": "50.00",
			"beforeBalance": "1350.00",
			"afterBalance": "1400.00",
			"transactionType": 1,
			"digest": "转账",
			"remark": "",
			"attachInfo": {},
			"createDate": "2021-08-10T06:51:22.371Z",
			"updateDate": "2021-08-10T06:51:22.371Z",
			"status": 2
		}, {
			"serialNo": "217084045549010945",
			"transactionRecordId": "217084045502873600",
			"accountId": "233332382945822",
			"accountType": 1,
			"accountName": "yuliang",
			"reciprocalAccountId": "508943564893849",
			"reciprocalAccountType": 4,
			"reciprocalAccountName": "test-freelog",
			"transactionAmount": "50.00",
			"beforeBalance": "1300.00",
			"afterBalance": "1350.00",
			"transactionType": 1,
			"digest": "转账",
			"remark": "",
			"attachInfo": {},
			"createDate": "2021-08-10T06:47:05.356Z",
			"updateDate": "2021-08-10T06:47:05.356Z",
			"status": 2
		}, {
			"serialNo": "217082825431322625",
			"transactionRecordId": "217082825385185280",
			"accountId": "233332382945822",
			"accountType": 1,
			"accountName": "yuliang",
			"reciprocalAccountId": "508943564893849",
			"reciprocalAccountType": 4,
			"reciprocalAccountName": "test-freelog",
			"transactionAmount": "50.00",
			"beforeBalance": "1250.00",
			"afterBalance": "1300.00",
			"transactionType": 1,
			"digest": "转账",
			"remark": "",
			"attachInfo": {},
			"createDate": "2021-08-10T06:42:14.457Z",
			"updateDate": "2021-08-10T06:42:14.457Z",
			"status": 2
		}, {
			"serialNo": "217082564974911489",
			"transactionRecordId": "217082564916191232",
			"accountId": "233332382945822",
			"accountType": 1,
			"accountName": "yuliang",
			"reciprocalAccountId": "508943564893849",
			"reciprocalAccountType": 4,
			"reciprocalAccountName": "test-freelog",
			"transactionAmount": "50.00",
			"beforeBalance": "1200.00",
			"afterBalance": "1250.00",
			"transactionType": 1,
			"digest": "转账",
			"remark": "",
			"attachInfo": {},
			"createDate": "2021-08-10T06:41:12.359Z",
			"updateDate": "2021-08-10T06:41:12.359Z",
			"status": 2
		}, {
			"serialNo": "182652755281989633",
			"transactionRecordId": "182652755227463680",
			"accountId": "233332382945822",
			"accountType": 1,
			"accountName": "yuliang",
			"reciprocalAccountId": "508943564893849",
			"reciprocalAccountType": 4,
			"reciprocalAccountName": "test-freelog",
			"transactionAmount": "100.00",
			"beforeBalance": "1100.00",
			"afterBalance": "1200.00",
			"transactionType": 1,
			"digest": "",
			"remark": "",
			"attachInfo": {},
			"createDate": "2021-05-07T06:29:26.054Z",
			"updateDate": "2021-05-07T06:29:26.054Z",
			"status": 2
		}, {
			"serialNo": "182610577531736065",
			"transactionRecordId": "182610577477210112",
			"accountId": "233332382945822",
			"accountType": 1,
			"accountName": "yuliang",
			"reciprocalAccountId": "508943564893849",
			"reciprocalAccountType": 4,
			"reciprocalAccountName": "test-freelog",
			"transactionAmount": "100.00",
			"beforeBalance": "1000.00",
			"afterBalance": "1100.00",
			"transactionType": 1,
			"digest": "",
			"remark": "",
			"attachInfo": {},
			"createDate": "2021-05-07T03:41:50.093Z",
			"updateDate": "2021-05-07T03:41:50.093Z",
			"status": 2
		}],
		"totalIncome": 400,
		"totalExpenditure": 0
	}
}
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128