Overview
Thesubscription.cancel_scheduled webhook is triggered when a subscription is scheduled to be cancelled at the end of the current billing period, rather than being cancelled immediately.
When It’s Triggered
This event is sent immediately after a subscription cancellation is scheduled, which can happen when:- A customer schedules their subscription to cancel at period end
- A subscription cancellation is scheduled through the API
- A subscription cancellation is scheduled manually in the dashboard
This event is different from
subscription.cancelled, which is sent when a subscription is cancelled immediately. This event indicates the subscription will remain active until the end of the current billing period.Payload Structure
Data Fields
Thedata.subscription object contains the subscription record with scheduling details:
id: Internal subscription IDsubscription_key: Unique subscription identifiercustomer_id: ID of the customer who owns the subscriptioncustomer_key: Customer keyplan_id: ID of the plan that will be cancelledplan_name: Name of the planstatus: Subscription status (typically still “active” until cancellation)billing_interval: Billing frequencycancel_at_period_end: Boolean indicating cancellation is scheduledscheduled_cancel_at: Timestamp when the subscription will be cancelledcurrent_period_start: Start date of the current billing periodcurrent_period_end: End date of the current billing period (when cancellation will occur)tenant_id: The tenant ID this subscription belongs tocreated_at: Original timestamp when the subscription was createdupdated_at: Timestamp when the cancellation was scheduled- Additional subscription-specific fields
The subscription remains active and the customer retains access until
current_period_end. After that date, the subscription will be cancelled and a subscription.cancelled event will be sent.Example Use Cases
- Send cancellation scheduled confirmation emails
- Trigger retention campaigns before the cancellation date
- Update internal systems with scheduled cancellation information
- Set reminders to follow up with the customer
- Update analytics and forecasting

