Get balance
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
Query parameters
-
direction string
Sorting direction
Values are
ASC
orDESC
. Default value isASC
. -
pageNumber integer(int32)
Page Number
Default value is
1
. -
sizePerPage integer(int32)
Size per page
Default value is
60
. -
sortingField string
Field to sort by
GET /api-v1/balance
curl \
-X GET http://10.10.10.132/api-v1/balance \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"account": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"accountNumber": 42,
"accountType": "BALANCE_SHEET",
"credit": 42.0,
"debit": 42.0,
"endingBalance": 42.0,
"id": 42,
"lastYearCredit": 42.0,
"lastYearDebit": 42.0,
"lastYearEndingBalance": 42.0,
"organizationId": 42,
"tenantId": 42,
"warnings": "string"
}
]