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 |
| Code | billing_required |
| Retry? | After resolving billing in the dashboard. |
When this happens
The tenant’s subscription is in a state that blocks production API access:- Past due — Stripe could not charge the payment method on file.
- Canceled — the subscription has been canceled.
- No active subscription — the trial expired and no plan was selected.
X-Subscription-Status and X-Billing-Status response headers on
every response, so you can detect the impending block before the 402
fires.
Example response
How to fix
- Sign in at
agnes.lasscyber.com/agnes-info/billing. - Click Manage billing to open the Stripe Customer Portal.
- Update the payment method or pay the outstanding invoice.
- Once Stripe marks the subscription
active, API access resumes automatically (the next request after the webhook is processed).
sales@lasscyber.com for help with
purchase orders or non-card billing.
Sandbox keys are unaffected
ak_test_* keys never trigger this error — sandbox traffic bypasses
billing entirely. See Sandbox mode.
SDK behaviour
| SDK | Exception |
|---|---|
| Python | agnes.BillingError |
| TypeScript | BillingError |
Related
billing_grace_period— same underlying state, but inside the grace window where requests are warned, not blocked.- Billing