Billing
GET /api/v1/billing/plans
List available plans and tiers.
Response:
GET /api/v1/billing/subscription
Return the active subscription for the current organization.
Response:
POST /api/v1/billing/checkout
Create a Stripe checkout session to upgrade the organization plan.
Request body:
GET /api/v1/billing/checkout/success
Stripe success callback. The portal creates or activates the subscription and redirects to the dashboard billing page.
GET /api/v1/billing/checkout/cancel
Stripe cancel callback. Redirects back to the dashboard billing page.
POST /api/v1/billing/portal
Create a Stripe customer portal session to manage payment details.
Response:
POST /api/v1/billing/cancel
Cancel the active subscription at the end of the current period. Returns 200 OK on success.