Accounts
Get Accounts
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
limit?integer
Sets the limit
Range
1 <= value <= 500Default
10offset?integer
Sets the offset
Range
0 <= valueDefault
0sort_order?string
Sorts the items in ascending or descending order
Default
"desc"Value in
- "asc"
- "desc"
sort_by?string
Sorts the items by a specified value
Default
"createTime"Value in
- "createTime"
- "updateTime"
filter?unknown
Filters the items by a specified value
Header Parameters
accept-language?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/accounts?limit=10&offset=0&sort_order=desc&sort_by=createTime" \ -H "accept-language: ja"{ "total": 0, "data": [ { "accountId": 0, "accountNumber": "string", "displayNumber": "string", "clientId": 0, "caption": "string", "currency": { "alphabeticCode": "string", "minorUnit": 0, "name": "string", "numericCode": 0 }, "group": { "id": 0, "name": "string" }, "name": "string", "archive": true, "permissions": [ "deposit" ], "platform": { "id": 0, "name": "string", "type": "personal", "caption": "string" }, "product": { "id": 0, "name": "string" }, "statement": { "availableBalance": "string", "currentBalance": "string", "credit": "string", "equity": "string", "freeMargin": "string", "hold": "string", "margin": "string", "marginLevel": "string", "pnl": "string", "updateTime": "string" }, "type": "string", "archiveTime": "string", "createTime": "string", "updateTime": "string" } ]}