Events
Subscription Deleted
The subscription.deleted
event is triggered when a subscription is deleted.
Event Object
type
subscription.deleted
data
Event Data Object
The corresponding event data object as described below.
Data Object
provider.subscriptionId
string
The subscription ID from the provider (Stripe).
provider.productId
string
The product ID from the provider (Stripe).
provider.priceId
string
The price ID from the provider (Stripe).
projectId
string
The project ID.
productId
string
The product ID.
priceId
string
The price ID.
userId
string
The user ID.
email
string
The email address of the user.
startDate
string | null
The start date of the subscription.
endedAt
string | null
The end date of the subscription, if it has ended.
cancelAt
string | null
The date when the subscription is scheduled to cancel.
canceledAt
string | null
The date when the subscription was canceled.
cancelAtPeriodEnd
boolean
Indicates if the subscription will be canceled at the end of the period.
status
string
The status of the subscription.
trialEnd
string | null
The end date of the trial period.
trialStart
string | null
The start date of the trial period.