Cancel Subscription Webhook

A Cancel Subscription Webhook is used in subscription-based services to notify a system or application when a user cancels their subscription.

{
  "entity": "event",
  "user_id": "65e026f7d03692125f1f36fa",
  "event": "cancelled.subscription",
  "contains": [
    "user",
		"renewal"
  ],
  "payload": {
    "user": {
      "phoneNumber": "8943489898",
      "userId": "65e026f7d03692125f1f36fa",
      "country": "IN",
      "address": {
        "apartment": "",
        "area": "",
        "pincode": "",
        "landmark": "",
        "city": "",
        "state": "",
        "country": ""
      },
      "name": "",
      "city": "new delhi (okhla phase i)",
      "location": {
        "latitude": 28.5223,
        "longitude": 77.2849,
        "postcode": "110001"
      },
      "username": "8943489898"
    },
		"renewal": {
			  "id":  "65df2e5cd821380560e3c5c4",
			  "status": "CANCELLED",
			  "renewalCount": 1,
			  "paymentGatewayPlanId": "P-0EJ04485EU997530NMXPS4WY",
			  "paymentGatewaySubscriptionId": "I-VY5DHGTSMYUR",
			  "price": 13.26,
			  "currency": "USD"
		}
  },
  "client_info": {
    "deviceType": "desktop"
  },
  "created_at": 1709189670
}

Last updated