Review Subscription Webhook

This event occurs just before the user confirms the payment for buying a subscription on the review page.

You can register your webhook endpoint for receiving ConsCent review subscription data i.e.(dropoff users) by logging in to your ConsCent Client Dashboard and navigating to the Webhook Page. You will be able to enable/disable and edit your webhook URL from this section. Once the webhook URL is registered and the webhook is in the enabled state - the endpoint will receive the user's review subscription data, anytime the user makes the payment for buying a subscription and comes to the review page on the client's platform or application via ConsCent.The review subscription webhook lets us keep the records of drop-off users. Moreover, the webhook is secured by basic auth using the Client's API Key and API Secret provided by ConsCent on the SDK Integration section of the client dashboard - ConsCent Client Integration. You can optionally choose to keep the endpoint protected and authenticate using the provided credentials which are passed in the headers of the POST request to the configured webhook endpoint.

Review Subscription JSON
{
   "phoneNumber": "9847598673",
  "userId": "6345116cb9beaf3033c065cc",
  "country": "IN",
  "hashedPhoneNumber": "eyJhbGciOiJIUzI1NiJ9.OTg0NzU5ODY3Mw.7tvT8abeu_sGEWSfKdgYRRo7oZ65qBwatyFIF1VOhGY",
  "address": {
    "apartment": "",
    "area": "",
    "pincode": "",
    "landmark": "",
    "city": "",
    "state": "",
    "country": ""
  },
  "name": "",
  "city": "defence colony",
  "location": {
    "latitude": 28.5714,
    "longitude": 77.2327
  },
  "browser": "Chrome",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
  "os": "Mac OS",
  "username": "9847598673",
  "subscriptionDetails": {
    "subscriptionId": "61e951161a563d0729652d21",
    "tierId": "61e951161a563d0729652d23",
    "title": "AD Free",
    "price": 600,
    "currency": "INR"
  }
}

Last updated