Billing

Create checkout session

Initiates a Stripe checkout session for user subscription purchases.

post/stripe/checkout/subscription

Request body

price_idstring required

The Stripe price ID for the subscription plan

country_codestring

Two-letter country code used for regional pricing

client_geoip_country_codestring

Two-letter country code observed by the client GeoIP store before checkout

eu_withdrawal_waiver_acceptedboolean

Whether the EU/EEA digital content withdrawal waiver was expressly accepted before checkout

pricing_mode'localized' | 'base'
payment_method'card' | 'pix' | 'upi'
is_businessboolean

Whether the purchase is for a business. When true, Stripe Checkout requires a billing address (needed for tax invoicing). When false or omitted, billing address collection is left to Stripe (auto).

Response

Success

urlstring required

The URL to redirect to

Changes

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