Billing

Manage subscriptions and payment through the API.

Get subscription

GET /billing/subscription

Returns your current plan, renewal date, and usage.

Create checkout session

POST /billing/checkout

Creates a Stripe checkout session for upgrading your plan. Returns a url to redirect the user to.

Verify checkout

POST /billing/checkout/verify

Verifies a completed checkout session.

Open billing portal

POST /billing/portal

Creates a Stripe billing portal session for managing payment methods and invoices.

On this page