Skip to navigation

Get balances

This endpoint returns the balances of an account.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

subAccountIdslist of stringsOptional

A list of sub-account unique identifiers to filter the balances.

sortstringOptionalformat: "(created_at-asc|created_at-desc)"Defaults to created_at-asc
Optionally sort the results
limitstringOptionalformat: "uint64"Defaults to 20

Optionally limit the number of results (between 1 and 500)

querylist of stringsOptional
Optionally filter the results
cursorstringOptionalformat: "base64"
Optionally provide a cursor to paginate over pages of results
subAccountIdstringRequiredformat: "uuid"

The unique identifier of the sub-account the balances belong to.

pnlQuotationIdstringOptionalformat: "uuid"
The unique identifier of the quotation instrument to calculate the profit and loss.

Response

A successful response.
resultlist of objects
paginationobject
sortingKeyslist of objectsOptional
filterslist of objectsOptional
querylist of stringsOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error