Subscriptions with Checkout Sessions
Create subscriptions for your customers with the Checkout Sessions API.
The Checkout Sessions API supports setting up a variety of pricing models, including flat-rate subscriptions, usage-based pricing, tiered pricing, and more.
- First, create your pricing model using the Products and Prices APIs.
- Pass the Price in to line_items.price when you create the Checkout Session.
- Make sure that mode is set to subscription .
Build a subscriptions integration
Use the Checkout Sessions API to build your subscriptions integration.
Configure free trials
Delay payments on subscriptions using free trial periods.
Limit customers to one subscription
Direct customers to manage their subscription when they already have one.
Set the billing cycle date
Use Stripe Checkout to set a billing cycle date for subscriptions.
