Plan Change
Called whenever user changes the plan for a paid app.
Schema
{
"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"
}
}
}
Example
{
"type": "PLAN_CHANGE",
"appId": "ve9EPM428h8vShlRW1KT",
"locationId": "otg8dTQqGLh3Q6iQI55w",
"companyId": "otg8dTQqGLh3Q6iQI55w",
"userId": "otg8dTQqGLh3Q6iQI55w",
"currentPlanId": "66a0419a0dffa47fb5f8b22f",
"newPlanId": "66a0419a0dffa47fb5f8b22f"
}