Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
GET
/api-v1/balance
curl \
--request GET 'https://wyzio.app/api-v1/balance' \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42"
Response examples (200)
[
{
"id": 42,
"organizationId": 42,
"accountNumber": 42,
"accountType": "BALANCE_SHEET",
"account": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"debit": 42.0,
"credit": 42.0,
"endingBalance": 42.0,
"lastYearDebit": 42.0,
"lastYearCredit": 42.0,
"lastYearEndingBalance": 42.0,
"warnings": "string",
"accountId": 42,
"tenantId": 42
}
]