SUBSCRIPTION_CANCELED announces a soft cancellation: renewal stops, while access may continue until deactivatesAt.
When that cutoff is reached, Subscription expired carries the same date as expiresAt. The subscription remains in CANCELLED after expiration. An immediate deactivation instead produces Subscription deactivated.
Contract (? = optional)
{
"type": "SUBSCRIPTION_CANCELED",
"state": "CANCELLED",
"createdAt": "string (ISO 8601 date-time)",
"projectId": "string",
"deactivatesAt?": "string (ISO 8601 date-time) | null",
"externalUserId": "string",
"subscriptionId": "string",
"subscriptionProductPlanId": "string",
"completedAt?": "string (ISO 8601 date-time) | null",
"metadata?": {
"<key>": "string"
}
}Example
{
"type": "SUBSCRIPTION_CANCELED",
"state": "CANCELLED",
"createdAt": "2025-09-05T11:55:29.634Z",
"projectId": "a1b2c3d4-e5f6-4a7b-8c9d-1e2f3a4b5c6d",
"deactivatesAt": "2025-10-03T06:00:00.000Z",
"externalUserId": "b1c2d3e4-f5a6-4b7c-8d9e-2f3a4b5c6d7e",
"subscriptionId": "c1d2e3f4-a5b6-4c7d-8e9f-3a4b5c6d7e8f",
"subscriptionProductPlanId": "d1e2f3a4-b5c6-4d7e-8f9a-4b5c6d7e8f9a"
}For signature verification and delivery handling, see the Webhooks guide.