JavaScript
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | Yes | Subscription identifier |
| accountId | string | Yes | Account identifier |
| planId | string | No | New plan identifier |
| planName | string | No | New plan name |
| previousPlanId | string | No | Previous plan identifier |
| mrr | number | No | New MRR after downgrade in cents |
| mrrDelta | number | No | MRR decrease in cents (negative) |
When to Fire
- When plan changes from higher to lower tier
- When features are removed from subscription
- When scheduled downgrade takes effect at period end
Stripe Webhook
Maps tocustomer.subscription.updated when the new price is lower than the previous price.