Documentation Index
Fetch the complete documentation index at: https://docs.lasscyber.com/llms.txt
Use this file to discover all available pages before exploring further.
| HTTP status | 402 Payment Required (with grace flag) — sometimes 403 in admin paths |
| Code | billing_grace_period |
| Retry? | Requests do succeed during grace if the operator has enabled it, but you should resolve billing before grace expires. |
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_graceandX-Grace-Days-Remaining: <n>. - Once grace expires the API switches to
billing_required(a hard block).
Example response
How to fix
- Sign in at
agnes.lasscyber.com/agnes-info/billing. - Update the payment method or pay the outstanding invoice in the Stripe Customer Portal.
- Wait a few seconds for the Stripe webhook to update Agnes; the header set returns to normal on the next request.
SDK behaviour
| SDK | Exception |
|---|---|
| Python | agnes.BillingError with grace_period_end: datetime |
| TypeScript | BillingError with gracePeriodEnd: Date |
Related
billing_required— what comes next if grace expires.- Billing — grace-period configuration and the customer portal.