Search.../
  1. REST
Generate a test token to explore our APIs

Paid Plan Changed Webhook

When you sign up for the Paid Plan Changed webhook, you will receive this notification when a user changes the app’s paid plan (to another paid plan)

Was this helpful?

The data payload will include the following as an encoded JWT:

Event Body

json

1{
2 "data": {
3 "eventType": "<event-type>",
4 "instanceId": "<app-instance-id>",
5 "data": "<stringified-JSON>"
6 }
7}

The parsed data will include:

Sample Data

json

1{
2 "data" : "{\"operationTimeStamp\":\"2019-12-08T07:42:04.535Z\",\"vendorProductId\":\"e61158e5-e327-4694-ac50-2a3a0db87c84\",\"cycle\":\"YEARLY\",\"previousVendorProductId\":\"e61158e5-e327-4694-ac50-2a3a0db87c84\",\"previousCycle\":\"MONTHLY\"}",
3 "instanceId" : "5bc2068d-010b-448c-a62a-d6bb269c2a4c",
4 "eventType" : "PaidPlanChanged"
5}