Subscriptions
Create subscriptions for your customers.
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
.