Create a Stripe Checkout session to upgrade your plan

Returns a checkout URL to upgrade to a paid plan. Works at 0 credits (no credit deducted). If the user already has an active subscription, returns a billing portal URL instead.

post/billing/upgrade

Request

  • Base URL: https://developer.usepopup.com/api/v0
  • URL: https://developer.usepopup.com/api/v0/billing/upgrade
  • Auth: HTTP bearer

Request body

plan'starter' | 'growth' | 'pro' required

Response

Checkout session created

Changes

No recorded changes to this operation across all 1 revision of this API.