Skip to content

Instantly share code, notes, and snippets.

@vovafeldman

vovafeldman/event-reason-data.md Secret

Last active Aug 31, 2020
Embed
What would you like to do?

Events:

  • install.trial.cancelled
  • subscription.cancelled

Event payload:

{
  ...
  "data": {
    "trial_plan_id": 123,
    "days_after"   : 6,
    "reason_ids"   : "1,2,3", // Set to `null` when empty
    "reason"       : "If other reason selected, the free text goes here"  // Set to `null` when empty
  }
  ...
}

Reason IDs mapping:

  1. ID = 1: I want to control when I pay.
  2. ID = 2: I'm not sure I want to keep it.
  3. ID = 3: I never/seldom use it.
  4. ID = 4: It was too difficult to set up.
  5. ID = 5: It didn't have the features I was looking for.
  6. ID = 6: It was too slow and/or buggy.
  7. ID = 7: The cost was too high.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment