Skip to main content

Get an organization's balance

GET 

/organizations/:organization_id/balance

Returns the organization's ledger position: spendable, the balance in the platform currency (EUR); approximate, that figure converted to the organization's own billing currency for display (null when no conversion applies); byCurrency, the signed balance per currency; and expenses and revenues, the running totals charged and earned per currency.

What spendable means depends on the billing mode. A prepaid organization holds credit: the figure is positive and decreases as metered calls are charged, and calls are refused with 402 when none is left. A post-paid (enterprise) organization is debited as it uses the platform, so the figure is typically negative and is settled by the monthly invoice.

Requires the caller's access token to carry the invoice:read ability and the caller to hold at least the org-admin role in the target organization (BillingPolicy.readOwnInvoices). Unlike the invoice-listing endpoints, a non-existent organization is explicitly checked and returns 404.

Request​

Responses​

The organization's current balance