GET
/
api
/
ledger
/
v2
/
{ledger}
/
aggregate
/
balances
curl --request GET \
  --url http://localhost:55001/api/ledger/v2/{ledger}/aggregate/balances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": {
    "USD": 100,
    "EUR": 12
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

ledger
string
required

Name of the ledger.

Example:

"ledger001"

Query Parameters

pit
string
useInsertionDate
boolean

Use insertion date instead of effective date

Body

application/json · object

Response

200
application/json

OK

The response is of type object.