Canceling Subscriptions
Cancellation Options
When canceling a subscription, you have two options:- Cancel Immediately - Subscription ends right away and no further charges occur
- Cancel at Period End - Customer retains access until the end of the current billing period
Programmatic Cancellation
Cancel subscriptions programmatically using the API:- TypeScript SDK
- Better Auth
- REST API
Customer Self-Service Cancellation
Customers can cancel their own subscriptions through the Customer Portal:- Next.js
- TypeScript SDK
- Better Auth
Customer Portal
Learn more about enabling self-service subscription management.
Processing Refunds
Dashboard Refunds
The easiest way to process refunds is through the Creem Dashboard:- Navigate to Transactions or Subscriptions
- Find the transaction you want to refund
- Click on the transaction details
- Select Refund
- Choose full or partial refund amount
- Confirm the refund
Refund Types
Full Refund
Refund the entire transaction amount to the customer
Partial Refund
Refund a specific amount (less than the total transaction)
Refund Processing
When you process a refund:- Immediate processing - Refunds are processed immediately
- Customer notification - Customer receives an email notification
- Webhook event - A
refund.createdwebhook is sent - 5-10 business days - Funds typically appear in customer’s account within 5-10 business days
Refund availability depends on the payment method and may vary by region. Credit card refunds are
generally processed within 5-10 business days.
Cancellation Policies
Best Practices
-
Clear Communication
- Set clear expectations about cancellation policies
- Communicate what happens to customer data after cancellation
- Explain billing cycle and refund policies upfront
-
Retention Strategies
- Offer to pause subscription instead of canceling
- Provide downgrade options to lower-tier plans
- Ask for feedback to improve your service
-
Grace Periods
- Consider offering a grace period for failed payments
- Allow customers to reactivate within a certain timeframe
- Preserve customer data for a reasonable period
Cancellation Flow Example
Handling Cancellation Events
Use webhooks to automatically respond to cancellation events:- Next.js
- TypeScript SDK
Webhooks
Learn more about handling subscription events with webhooks.
Failed Payments
Payment Retry Logic
When a subscription payment fails:- Automatic retries - Creem automatically retries failed payments
- Status changes - Subscription moves to “unpaid” status
- Customer notification - Customer receives email to update payment method
- Grace period - Subscription remains active during retry period
- Final failure - After all retries fail, subscription may be canceled
Handling Failed Payments
Next Steps
Customer Portal
Enable self-service subscription management
Webhooks
Handle subscription events automatically
Managing Subscriptions
Learn how to update and manage subscriptions
API Reference
View the complete API documentation