Ledger
GetAvailableBalances returns the user's available balance for each product
Send 'Authorization: APIKey ' to authenticate with a API key.
account_id represents the account identifier
A successful response.
An unexpected error response. details[0] is always an AppError, see #/components/schemas/AppError
GetUserTradeHistory returns historical ticket trade data for a user (paginated)
Send 'Authorization: APIKey ' to authenticate with a API key.
account_id is the user's account identifier
limit is the maximum number of entries to return (defaults to 50)
page is the 1-indexed page number (defaults to 1)
A successful response.
An unexpected error response. details[0] is always an AppError, see #/components/schemas/AppError
GetUserTradeHistoryGrouped returns historical ticket trade data grouped by time frame for a user
Send 'Authorization: APIKey ' to authenticate with a API key.
account_id is the user's account identifier
time_frame specifies the grouping period: "day", "week", or "month"
A successful response.
An unexpected error response. details[0] is always an AppError, see #/components/schemas/AppError
Send 'Authorization: APIKey ' to authenticate with a API key.
account_id represents the account identifier
A successful response.
An unexpected error response. details[0] is always an AppError, see #/components/schemas/AppError
GetLedgerEntriesFiltered returns a user's entries filtered by product and time range
Send 'Authorization: APIKey ' to authenticate with a API key.
account_id represents the account identifier
product_id optionally filters entries to a single product
start_date optionally filters entries created at or after this time
end_date optionally filters entries created at or before this time
A successful response.
An unexpected error response. details[0] is always an AppError, see #/components/schemas/AppError
Last updated