|
@@ -19,6 +19,7 @@ export interface CustomerSubscriptionUpdatedWebhookEvent
|
|
|
// https://docs.stripe.com/api/events/object?api-version=2025-04-30.basil#event_object-data-previous_attributes
|
|
// https://docs.stripe.com/api/events/object?api-version=2025-04-30.basil#event_object-data-previous_attributes
|
|
|
previous_attributes: {
|
|
previous_attributes: {
|
|
|
cancel_at_period_end?: boolean // will only be present if the subscription was cancelled or reactivated
|
|
cancel_at_period_end?: boolean // will only be present if the subscription was cancelled or reactivated
|
|
|
|
|
+ cancel_at?: number | null // will only be present if the subscription was cancelled or reactivated
|
|
|
items?: {
|
|
items?: {
|
|
|
// will be present if the subscription was downgraded, upgraded, or renewed
|
|
// will be present if the subscription was downgraded, upgraded, or renewed
|
|
|
data: [
|
|
data: [
|