Subscription cancelled event

Understand the subscription cancelled event.

When an existing subscription has been cancelled, Digital River creates a subscription.cancelled event.

Webhook request
{
    "type": "subscription.cancelled",
    "data": {
        "object": {
            "id": "15547380289",
            "creationDate": "2022-03-29T06:55:05.000Z",
            "activationDate": "2022-03-29T05:00:00.000Z",
            "nextRenewalDate": "2022-04-29T05:00:00.000Z",
            "expirationDate": "2022-04-29T05:00:00.000Z",
            "graceDate": "2022-05-06T05:00:00.000Z",
            "cancellationDate": "2022-03-29T05:00:00.000Z",
            "currentQuantity": 1,
            "renewalQuantity": 1,
            "autoRenewal": true,
            "locale": "en_US",
            "state": "Cancelled",
            "duration": 31,
            "frequency": 31,
            "siteId": "sub2test",
            "shopper": {
                "id": "504455390289",
                "externalReferenceId": "ZPQRTQHL16J5"
            },
            "term": {
                "termUnit": "MONTHS",
                "termLength": 1
            },
            "product": {
                "id": "5367865200",
                "displayName": "APM_2_months_auto",
                "sku": "SUBS_COMMITMENT"
            },
            "shipToAddress": {
                "id": "330005680289",
                "firstName": "Jane",
                "lastName": "Doe",
                "companyName": "Digital River",
                "line1": "10380 Bren Rd W",
                "line2": "Conjunto 304",
                "line3": "Conjunto 304",
                "city": "Minnetonka",
                "postalCode": "55343",
                "countrySubdivision": "MN",
                "country": "US",
                "countryName": "United States",
                "phoneNumber": "555-253-1234",
                "emailAddress": "[email protected]",
                "countyName": "Minnetonka"
            },
            "paymentOption": {
                "nickName": "VisaUNIU910",
                "id": "16070210289",
                "isDefault": "true",
                "type": "CreditCardMethod",
                "creditCard": {
                    "expirationMonth": "3",
                    "expirationYear": "2024",
                    "displayableNumber": "************1111",
                    "type": "visa",
                    "displayName": "Visa"
                },
                "address": {
                    "id": "330108580289",
                    "firstName": "Jane",
                    "lastName": "Doe",
                    "companyName": "Digital River",
                    "line1": "10380 Bren Rd W",
                    "line2": "Conjunto 304",
                    "line3": "Conjunto 304",
                    "city": "Minnetonka",
                    "postalCode": "55343",
                    "countrySubdivision": "MN",
                    "country": "US",
                    "countryName": "United States",
                    "phoneNumber": "555-253-1234",
                    "emailAddress": "[email protected]",
                    "countyName": "Minnetonka"
                }
            },
            "addOns": []
        }
    },
   "clientIds":{
      "site_id":"sub2test"
   },
   "searchableData":{
      "subscriptionId":"15547380289"
   }
}

Last updated

Was this helpful?

#1249: DOC-395 CCAvenue

Change request updated