Credits - Admin

Get Company Status

Get the company's current status (active, negative_balance, or locked).

Returns:

  • status: 'active' | 'negative_balance' | 'locked'
  • days_until_lock: Number of days until lock (only if negative_balance)
  • balance_total_cents: Sum of all PV balances
  • negative_since: Timestamp when company went negative (only if negative_balance or locked)
get/api/credits/company-status

Headers

x-api-tokenstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/credits/company-status:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.