Create subscription product

📘

API Refs

Request body

NameTypeDescriptionRequired
namestringDisplay name for the productyes
descriptionstringProduct descriptionno
plansarrayArray of pricing plans for this productyes

Plan object

NameTypeDescriptionRequired
namestringDisplay name for the planyes
amountnumberPrice in cents (e.g., 1000 = $10.00)yes
currencystringThree-letter ISO currency code (e.g., "usd")yes
intervalstringBilling interval: month, year, week, or dayyes
interval_countnumberNumber of intervals between billings (default: 1)no
trial_daysnumberDefault trial period in daysno

Response

Returns the created product with its associated pricing plans, including generated IDs that can be used for creating subscriptions.

Description

This endpoint creates a new subscription product with one or more pricing plans. Products represent what you're selling (e.g., "Premium Insurance Coverage"), while plans define how you charge for it (e.g., "$100/month" or "$1000/year"). You can create multiple plans for a single product to offer different billing intervals or pricing tiers.