v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBbilling
Upgrade Account
Upgrade user's account to Pro or Enterprise plan.
This endpoint creates a Stripe Checkout session for the user to complete payment. After successful payment, the webhook will update the user's plan and reset their token usage.
Args: request: Plan selection and redirect URLs auth: Authenticated user context
Returns: Checkout URL to redirect user to
post/billing/upgrade-account
Request body
Response
Successful Response