Get the Order Detail of Account
1. Request Url
https://{host}/marketApi/billRecord
2. Request Param
Parameter name
Is it necessary
description
channelId
Y
Channel number
timestamp
Y
Millisecond timestamp(UTC+8)
pageNo
N
The current number of pages(default: 1)
pageSize
N
Number each page(default: 10)
coinCode
Y
Currency Type
3.Request Example
1
{
2
"channelId":"swft-channel",
3
"sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
4
"timestamp":"1557653925555",
5
"pageNo":"2",
6
"pageSize":"10",
7
"coinCode":"BTC",
8
}
Copied!
4.Response Data
1
{
2
"data":{
3
"pageContent":[
4
{
5
"amount":"4.344231",
6
"changeAmt":"1",
7
"coinCode":"BTC",
8
"createTime":"2019-08-02 12:14:12",
9
"recordId":"adsjvLP4",
10
"type":"trade_deduct"
11
},
12
{
13
"amount":"5.344231",
14
"changeAmt":"0.0013",
15
"coinCode":"BTC",
16
"createTime":"2019-08-03 11:14:00",
17
"recordId":"mffeoHl",
18
"type":"trade_receive"
19
}
20
],
21
"pageNo":1,
22
"pageSize":10,
23
"totalCount":2,
24
"totalPage":1
25
},
26
"resCode": "800",
27
"resMsg": "SUCCESS"
28
}
Copied!
5.Response Data Explanation
description
Is Array
Parameter name
Data type
Length
Is it necessary
Remark
The current number of pages
N
pageNo
Number
20
Y
eg: 1
Number each page
N
pageSize
Number
20
Y
eg: 10
The total number of records
N
totalCount
Number
20
Y
eg: 2
Total number of pages
N
totalPage
Number
20
Y
eg: 1
The balance
Y
amount
String
20
Y
eg: 4.32
Change the number
Y
changeAmt
String
20
Y
eg: 1
Currency Type
Y
coinCode
String
20
Y
eg: BTC
Record Id
Y
recordId
String
20
Y
eg: adsjvLP4
Record Type
Y
type
String
20
Y
eg: trade_deduct
Timestamp
Y
createTime
String
20
Y
eg: 2019-08-03 11:14:00(UTC+8)
Last modified 2yr ago
Copy link