Skip to content

List an account's ledger entries.

GET
/api/ledger/{accountId}
curl --request GET \
--url 'https://api.tradr.cloud/api/ledger/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?page=1&pageSize=50'

Authed. The ledger is the cash record for one account: deposits, withdrawals, and the cash effect of each fill, newest first. runningBalanceAtFirstRow is the balance as at the first row on this page, so a client can reconstruct the running balance down the page without fetching the whole history.

accountId
required
string format: uuid
page
integer
default: 1 >= 1
pageSize
integer
default: 50 >= 1 <= 200

One page of ledger entries.

Media typeapplication/json
object
entries
Array<object>
object
hasMore
boolean
page
integer
pageSize
integer
runningBalanceAtFirstRow
string
nullable
Examplegenerated
{
"entries": [
{}
],
"hasMore": true,
"page": 1,
"pageSize": 1,
"runningBalanceAtFirstRow": "example"
}

No such account for this user.