Sent when a subscription is canceled. Use it to revoke access at the right time (immediately, or at period end).
Event fields
The event’s unique identifier, prefixed evt_. Use it to deduplicate deliveries.
Always customer.subscription.deleted.
When the event occurred, in UTC.
The full customer object: customer_id, email, name, phone_number, metadata, billing_address, created_at, and updated_at.
The product the subscription bills.
Subscription status: trialing, active, past_due, unpaid, canceled, or paused.
How renewals are collected, e.g. charge_automatically.
The billing currency, as an ISO 4217 code.
The recurring amount, as a decimal string.
The cadence: { interval, frequency }.
Start of the current billing period, in UTC.
End of the current billing period, in UTC.
When the subscription next renews, in UTC.
When the trial ends, or null if not trialing.
Whether the subscription is set to end at the period end.
When the subscription was canceled, or null.
The line items being billed.
Your own key-value data on the subscription.