Subscription Object
Subscriptions enable recurring payments for memberships, services, or product deliveries. They automatically charge customers at specified intervals using their stored HSA/FSA or regular payment method.The Subscription Object
Attributes
Subscription Status
Billing Intervals
Subscription Lifecycle
A subscription moves through these states:- trialing - Subscription created with trial period
- active - Subscription is active and billing normally (can come from trialing or be created without trial)
- past_due - Payment failed, retrying (can come from trialing or active)
- cancelled - Cancel requested, will end at period end
- ended - Subscription has ended (can come from cancelled, past_due after max retries, or active for immediate cancellation)
Trial Periods
Subscriptions can include a free trial period:- Customer is not charged
- Payment method is verified
- First charge occurs when trial ends
Payment Method
Cancellation Behavior
Cancel at Period End
Immediate Cancellation
Past Due Handling
When a payment fails:- Status changes to
past_due - Automatic retry attempts (days 3, 7, 14)
- Customer receives notification
- After max retries, subscription ends
Examples
Monthly Membership
Quarterly Subscription
Annual Plan with Trial
Related Endpoints
- Create Subscription - POST /api/v2/subscriptions
- Get Subscription - GET /api/v2/subscriptions/
- List Subscriptions - GET /api/v2/subscriptions
- Cancel Subscription - POST /api/v2/subscriptions//cancel
- Update Subscription - PUT /api/v2/subscriptions/
