API referenceBilling
`GET /billing` — fetch the org's billing settings.
curl -X GET "https://example.com/billing"{ "annual_discount_percent": 0, "auto_topup_enabled": true, "auto_topup_packs": 0, "auto_topup_threshold_pct": 0, "billing_period": "string", "gb_exported_limit": 0, "gb_ingested_limit": 0, "gb_scanned_limit": 0, "gb_stored_limit": 0, "is_trial_active": true, "org_id": "string", "payment_method_configured": true, "plan_tier": null, "retention_days": 0, "stripe_customer_id": "string", "trial_ends_at": "string", "updated_at": "string"}`DELETE /billing/payment-methods/{id}` — detach a saved card from Stripe. **Owner-only**. DELETE
Previous Page
`GET /billing/invoices` — the org's Stripe invoice history (every billing period since the subscription started), newest first, each with a Stripe-hosted page + downloadable PDF link. Served through the management API, which holds the org's Stripe customer. Empty (not an error) when the org has never had a Stripe customer; a management API that does not answer is a `503`, never an empty list. GET
Next Page