Create an upgrade checkout session (redirects to direct API)
Billing
Create an upgrade checkout session (redirects to direct API)
POST /billing/upgrade/checkout-session
POST
Create an upgrade checkout session (redirects to direct API)
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
POST /billing/upgrade/checkout-session Historical Free→Paid checkout-session flow. Currently always responds200 with status: "redirect" and instructs the caller to
use PUT /billing/stripe/change-plan directly instead — this is
required to correctly bill outstanding metered usage during plan
changes. No Stripe checkout session is actually created by this
endpoint.
Authorization:
- Required role:
owneronly
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json
Example:
"plus_monthly"