Get an organization's prepaid-credit balance
GET/organizations/:organization_id/balance
Returns the organization's current prepaid-credit ledger balance, denominated in the organization's own billing currency (organization.currency).
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
- 200
- 400
- 401
- 404
The organization's current balance
The organization ID is not a valid integer
Caller lacks the invoice:read ability or is not at least an org admin in this organization
Resource not found