private/get-accounts
POSTGet Account and its Sub Accounts./private/get-accounts
Request
Body
required
Request id (echoed in response)
Must be "private/get-accounts"
Your API key (only required for private REST)
HMAC-SHA256 signature in hex (only required for private REST)
Current timestamp in milliseconds, e.g. "1771761038000".
params objectrequired
Default value: 20
Number of items per page. Default 20.
Default value: 0
Page number (0-based). Default 0.
Schema
- Array [
- ]
Echoed request id
Method invoked
0 = success; non-zero indicates error (reason code).
result object
this_account object
UUID of the API key
Possible values: [MASTER, SUB_ACCOUNT]
Account type of the API key: MASTER or SUB_ACCOUNT.
master_account objectrequired
UUID of the API key
Possible values: [MASTER, SUB_ACCOUNT]
Account type of the API key: MASTER or SUB_ACCOUNT.
Master account uuid
Margin account uuid (optional)
Sub account label (typically present for sub-accounts)
true or false
true or false
Name of sub account
Email of sub account
Mobile number of sub account
Country Code of sub account
Address of sub account
Possible values: [DEFAULT, DISABLED]
DEFAULT or DISABLED
Possible values: [DEFAULT, DISABLED]
DEFAULT or DISABLED
Creation timestamp (milliseconds since the Unix epoch).
Last update timestamp (milliseconds since the Unix epoch).
true or false
Kyc Level
true or false
true or false
sub_account_list object[]required
UUID of the API key
Possible values: [MASTER, SUB_ACCOUNT]
Account type of the API key: MASTER or SUB_ACCOUNT.
Master account uuid
Margin account uuid (optional)
Sub account label (typically present for sub-accounts)
true or false
true or false
Name of sub account
Email of sub account
Mobile number of sub account
Country Code of sub account
Address of sub account
Possible values: [DEFAULT, DISABLED]
DEFAULT or DISABLED
Possible values: [DEFAULT, DISABLED]
DEFAULT or DISABLED
Creation timestamp (milliseconds since the Unix epoch).
Last update timestamp (milliseconds since the Unix epoch).
true or false
Kyc Level
true or false
true or false
Present when code !== 0.
Present when code !== 0.