feature_mode is NORMAL and grace_until is null. If a payment fails, the account enters a graduated access workflow — Degraded, Restricted, then Suspended — with a grace period at each stage.
Response
The billing account state:
ACTIVE, PAST_DUE, UNPAID, or SUSPENDED.The current feature capability level:
NORMAL— all features availableDEGRADED— payment failed; all features still work during the grace periodRESTRICTED— grace period running out; write operations (minting, key creation) are disabledSUSPENDED— grace period expired; all API access is disabled until payment is resolved
ISO 8601 timestamp for when the current grace period ends, or
null if the account is in good standing.A human-readable message describing the required action, or
null when no action is needed.When to use this endpoint
UseGET /v1/billing/status to:
- Surface payment prompts — check
feature_modeon app startup or login and show a banner when the value is anything other thanNORMAL. - Guard write operations — before minting or creating keys, verify that
feature_modeis notRESTRICTEDorSUSPENDED. - Track grace deadlines — read
grace_untilto show your users exactly how long they have to resolve a payment issue.
Grace period timing
The default grace windows for the Standard contract mode are:| Transition | Grace window | Notifications |
|---|---|---|
| NORMAL → DEGRADED | 7 days | Reminders at T+24h, T+48h, T+72h |
| DEGRADED → RESTRICTED | 14 days | Reminders at T+24h, T+48h, T+72h |
| RESTRICTED → SUSPENDED | Immediate | Final suspension notice |
