Skip to content

TenantBalance

A tenant’s prepaid balance, as shown to the tenant.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
currencystringThe balance’s currency.
balancenumberWhat’s left, rounded to the currency’s minor unit. Negative when the tenant owes.
lastTopUpAmountnumber | nullThe last top-up’s amount, which a low-balance alert is a share of.
outOfCreditbooleanNothing new can start: the balance can’t pay for more work (a plan with an allowance left can still run at zero).
{
"currency": "...",
"balance": 0,
"lastTopUpAmount": 0,
"outOfCredit": false
}