Get bills (3 months)
Retrieve the account bills for the last 3 months. The bill refers to all transaction records that result in changing the balance of an account.
Authentication
OK-ACCESS-KEYstring
Your API key.
OK-ACCESS-SIGNstring
Base64-encoded HMAC-SHA256 signature of the prehash string.
OK-ACCESS-TIMESTAMPstring
ISO 8601 UTC timestamp, e.g. 2020-12-08T09:08:57.715Z.
OK-ACCESS-PASSPHRASEstring
The passphrase you set when creating the API key.
Query parameters
instType
Instrument type.
Allowed values:
ccy
Currency.
mgnMode
Margin mode.
Allowed values:
ctType
Contract type.
Allowed values:
type
Bill type.
subType
Bill subtype.
after
Pagination of data to return records earlier than the requested bill ID.
before
Pagination of data to return records newer than the requested bill ID.
limit
Number of results per request. Maximum 100, default 100.
begin
Filter with a begin timestamp, Unix timestamp in milliseconds.
end
Filter with an end timestamp, Unix timestamp in milliseconds.
Response
Successful response
code
Result code. 0 means success; any other value is an error code.
msg
Error message. Empty on success.
data

