{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/zettle/main/json-schema/zettle-account-balance.json", "title": "Zettle Account Balance", "description": "The balance of a merchant's Zettle preliminary or liquid account.", "type": "object", "properties": { "totalBalance": { "type": "integer", "description": "The account balance in the currency's smallest unit (e.g. 300 with GBP = £3). Can be negative when refunds exceed sales.", "example": 300 }, "currencyId": { "type": "string", "description": "The ISO 4217 currency code of the account (e.g. GBP).", "example": "GBP" } }, "required": ["totalBalance", "currencyId"] }