PlanChange
Cambio de plan
Se dispara cuando un usuario cambia de plan en una app de pago.
Este evento de webhook te avisa en tiempo real, sin que tu equipo tenga que estar revisando la plataforma manualmente. Configuralo una vez y deja que tu sistema reaccione automáticamente.
Esquema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"example": "PLAN_CHANGE"
},
"appId": {
"type": "string",
"example": "ve9EPM428h8vShlRW1KT"
},
"locationId": {
"type": "string",
"example": "otg8dTQqGLh3Q6iQI55w"
},
"companyId": {
"type": "string",
"example": "otg8dTQqGLh3Q6iQI55w"
},
"userId": {
"type": "string",
"example": "otg8dTQqGLh3Q6iQI55w"
},
"currentPlanId": {
"type": "string",
"example": "66a0419a0dffa47fb5f8b22f"
},
"newPlanId": {
"type": "string",
"example": "66a0419a0dffa47fb5f8b22f"
}
}
}
Ejemplo
{
"type": "PLAN_CHANGE",
"appId": "ve9EPM428h8vShlRW1KT",
"locationId": "otg8dTQqGLh3Q6iQI55w",
"companyId": "otg8dTQqGLh3Q6iQI55w",
"userId": "otg8dTQqGLh3Q6iQI55w",
"currentPlanId": "66a0419a0dffa47fb5f8b22f",
"newPlanId": "66a0419a0dffa47fb5f8b22f"
}
¿Te sirvio este artículo?
✨ Gracias por darte el tiempo de calificarla — nos ayuda a mejorar esta documentación para todo el equipo.
