Skip to main content

When this happens

The subscription has gone past due (Stripe could not charge the card), but the tenant is still inside the configured grace period (BILLING_GRACE_PERIOD_DAYS, default 7 days). During grace:
  • The API continues to serve requests.
  • Every response carries X-Subscription-Status: past_due_grace and X-Grace-Days-Remaining: <n>.
  • Once grace expires the API switches to billing_required (a hard block).
The exact mix of “warn vs block” during grace depends on operator configuration; some tenants see this code as a hard error on admin paths and a soft warning on analyzer paths.

Example response

How to fix

  1. Sign in at agnes.lasscyber.com/agnes-info/billing.
  2. Update the payment method or pay the outstanding invoice in the Stripe Customer Portal.
  3. Wait a few seconds for the Stripe webhook to update Agnes; the header set returns to normal on the next request.

SDK behaviour

SDKs do not retry — the recovery is operator-driven (update payment).
  • billing_required — what comes next if grace expires.
  • Billing — grace-period configuration and the customer portal.