Daily Use
Short description
Subscriptions let you charge customers on a recurring basis. You can configure flexible billing intervals, trials, and upgrade/downgrade options.
What is a Subscription
A subscription links a customer to a product with a specific pricing plan. It defines how often they’re billed and what features they get.
Creating a Subscription
You can create a subscription through the dashboard or API.
Dashboard steps:
Go to Customers → Create Subscription
Select a product and pricing plan
Add coupon or trial if needed
Confirm and activate
API example:
typescript
Subscription Lifecycle
Subscriptions go through different states:
State | Description |
|---|---|
Active | Customer is billed regularly |
Trialing | Free trial before billing begins |
Past Due | Payment failed but subscription is open |
Canceled | Subscription ended manually or by system |
Expired | Subscription ended after trial |
Configure retry logic for failed payments to reduce churn.
Free Trials
You can add trial periods to subscriptions:
typescript
Trials automatically convert to paid subscriptions unless canceled before the trial ends.
Upgrades and Downgrades
Customers can switch between plans at any time.
Upgrades are prorated by default (only pay the difference).
Downgrades take effect at the next billing cycle.
Example:
typescript
Pausing and Resuming
You can temporarily pause subscriptions instead of canceling.
typescript
Paused subscriptions stop billing but keep customer data intact.
Canceling a Subscription
Subscriptions can be canceled immediately or at the end of the billing period.
typescript
Summary
Subscriptions connect customers to recurring plans
Support trials, upgrades, downgrades, and pauses
Lifecycle states define how subscriptions behave
Always test subscription flows in Sandbox before launch