Skip to main content

Billing

Stripe-backed subscription, checkout, and minute-balance management. These endpoints live under /billing (not /api). Application endpoints require a valid Bearer JWT; the Stripe webhook is called by Stripe and authenticated by signature, not JWT.

Endpoints​

MethodPathDescription
POST/billing/checkoutStart a Stripe checkout session.
POST/billing/portalOpen the Stripe customer portal.
POST/billing/webhookStripe webhook receiver (signature-authenticated).
GET/billing/infoGet the project's billing status and balance.
PATCH/billing/auto-refillConfigure minute auto-refill.
GET/billing/plansList subscription plans.
GET/billing/minute-packsList purchasable minute packs.