subscription.plan_change_revoked
Se dispara cuando un cambio de plan programado se reemplaza antes de ejecutarse.
Payload
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
The subscription ID.
The customer ID. Returns your externalId if you provided one when creating the customer, otherwise returns the Commet publicId.
Current status — the subscription stays usable.
The plan currently in effect (id and name).
The previously scheduled plan that will no longer take effect (id and name).
The current billing interval.
The previously scheduled billing interval, if the revoked change included one.
{
"event": "subscription.plan_change_revoked",
"timestamp": "2026-04-18T16:30:00.000Z",
"organizationId": "org_abc123",
"mode": "live",
"apiVersion": "2026-05-25",
"data": {
"subscriptionId": "sub_1a2b3c4d",
"customerId": "user_123",
"status": "active",
"currentPlan": {
"id": "plan_pro",
"name": "Pro"
},
"revokedPlan": {
"id": "plan_starter",
"name": "Starter"
},
"billingInterval": "monthly",
"revokedBillingInterval": null
}
}Cuándo se dispara
Una suscripción solo puede tener un cambio programado pendiente. Cuando se programa un nuevo downgrade o cambio de intervalo mientras otro sigue pendiente, el anterior se reemplaza:
subscription.plan_change_revokedse dispara con el plan que ya no tendrá efecto (revokedPlan).subscription.plan_change_scheduledse dispara con el nuevo plan objetivo.
Programar exactamente el mismo cambio de nuevo es una operación sin efecto y no dispara este evento. El plan actual de la suscripción y el acceso no se ven afectados: solo se mueve el cambio pendiente.
¿Cómo está esta guía?