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. Only used when the server cannot geolocate the request; otherwise the request GeoIP country wins.

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

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