Skip to main content
GET
Get the organisation's billing standing

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Ankra-Organisation-Id
string<uuid>

Act in another organisation the token's owner is an active member of; defaults to the token's own organisation.

Response

The organisation's billing standing

state
enum<string>
required

The overdue-invoice rung.

Available options:
ok,
overdue,
restricted,
suspended
overdue_invoices
integer
required
oldest_overdue_days
integer
required
overdue_cents
integer
required
restrict_after_days
integer
required

Days overdue at which the organisation is restricted.

suspend_after_days
integer
required

Days overdue at which the organisation is suspended.

enforced
boolean
required

Whether the overdue ladder is enforced rather than only reported.

reason
string
required

Which ladder decided the verdict; unknown when the standing could not be read.

restricted
boolean
required
shadowed
boolean
required

True when the verdict would restrict but its ladder is not enforced yet.

message
string
required
gated_actions
string[]
required

The actions the standing pauses.

wallet_state
string
required
free_tier_standing
string
required
wallet_enforced
boolean
required
free_tier_enforced
boolean
required
credit_limit_cents
integer | null
required

The credit limit of an invoiced organisation; null when none applies.

exposure_cents
integer
required

What counts against the credit limit.

credit_limit_approaching
boolean
required
credit_limit_enforced
boolean
required