Events
subscription.updated
Fired when subscription details change, including when a cancellation is scheduled.
Detecting scheduled cancellation
When a customer cancels,subscription.updated fires with status: "active" but canceledAt and endDate set. This tells you the subscription is still usable but ending soon. Show a notice like “your subscription will end on {endDate}” in your UI.
Access should only be revoked when you receive subscription.canceled (status: "canceled").Body
application/json
Response
200
Return any 2xx status code to acknowledge receipt of the event.