billing

Create Stripe checkout session or upgrade existing subscription

Changed on

If the integrator already has an active subscription, upgrades in-place. Otherwise creates a Stripe Checkout session.

post/integrator/billing/checkout

Request

Request body

plan'trial' | 'free' | 'startup' | 'growth' | 'scale' required

Available integrator plans.

success_urlstring required

URL to redirect after successful checkout

cancel_urlstring required

URL to redirect on checkout cancellation

Response

Successful Response

checkout_urlstring required

Checkout URL, or 'upgraded' if subscription was modified in-place

upgradedboolean

True when subscription was upgraded in-place (no checkout needed)

Changes