Billing
Manage subscriptions and payment through the API.
Get subscription
GET /billing/subscriptionReturns your current plan, renewal date, and usage.
Create checkout session
POST /billing/checkoutCreates a Stripe checkout session for upgrading your plan. Returns a url to redirect the user to.
Verify checkout
POST /billing/checkout/verifyVerifies a completed checkout session.
Open billing portal
POST /billing/portalCreates a Stripe billing portal session for managing payment methods and invoices.