What is a Price?
A Price defines how a SKU is billed. It can be a one-time payment or a recurring subscription with different billing intervals.Identifier format:
price_ followed by 36 alphanumeric characters.Example: price_abc123def456ghi789jkl012mno345SKU → Price Relationship
A SKU can have multiple prices for different pricing strategies:This flexibility allows you to offer multiple payment options for the same product and manage multiple currencies.
Price Attributes
Main Attributes
Recurring Attributes (subscriptions)
Pricing Types
- One-time payment
- Recurring subscription
One-Time (one_time)
The customer pays once to access the product.Use cases:- One-off purchases
- Physical products
- Digital downloads
- Lifetime access
Billing Intervals
For recurring prices, define the billing frequency:Trial Periods
Offer a free trial period to attract new customers:1
Subscription start
Customer signs up and starts their free trial period
2
Trial period
For 14 days, customer has full access without being charged
3
Trial end
At the end of the trial period, the first payment is automatically charged
4
Recurring cycle
Subsequent payments are charged according to the defined interval
Multi-Currency Management
Create multiple prices for the same SKU in different currencies:Supported Currencies
API Response
- One-time price
- Recurring price
Common Operations
Create a price
Retrieve a price
Deactivate a price
Prices cannot be deleted if they are associated with active subscriptions. Use deactivation instead.
List prices for a SKU
Pricing Strategies
Monthly vs Annual Offer
Offer a discount for annual subscription:Tiered Pricing
Create different SKUs for each service level:Useful Getters
The Price model provides getters to facilitate checks:Best Practices
Amount format
Amount format
Amounts are expressed in whole units of the currency:
- EUR: 99 = €99
- USD: 109 = $109
- XOF: 65000 = 65,000 XOF
Active/inactive prices
Active/inactive prices
- Deactivate old prices rather than deleting them
- Keep active prices to the minimum necessary
- Use different prices for promotions
Trial periods
Trial periods
- 7 to 14 days is generally optimal
- Too short: not enough time to evaluate
- Too long: potential revenue loss
Multi-currency
Multi-currency
- Adjust prices for each market (not simple conversion)
- Consider local purchasing power
- Use psychological pricing (€29 rather than €28.73)
Next Steps
Create promotions
Apply discounts with coupons and promo codes
Manage subscriptions
Understand the subscription lifecycle