Billing state
The team’s billing state: the card on file, the free credit, this month’s spend and what in-flight work holds, the budget and its alerts, the credit ceiling a card is held to, and whether new work is paused (status: past_due).
Authorizations
Response
The billing object.
Credit is what a team spends before its card is charged. It comes as grants: the sign-up credit, and any offstage gives (the YC deal), each with its own expiry or none. The sums count the grants still active. Work draws on the grants that were active when it was admitted, the soonest to expire first.
The credit ceiling: the most a card on file is trusted with at once beyond the free credit, set by offstage ($100 unless offstage set this team's own). While a card is on file, work that could pass it is refused with 402 credit-ceiling, whatever the budget says; the budget can only refuse sooner. Without a card the free credit is the limit.