Triggered when a Wix user cancels a paid plan for your app. The Wix user can continue to use your app until the end of the current billing cycle.
Date and time of auto-renewal cancellation.
Current app plan.
Current payment cycle.
Supported values: UNKNOWN_CANCELLATION_TYPE_ERROR_STATE
, USER_CANCEL
, FAILED_PAYMENT
, TRANSFER_CANCELLATION_REASON
. Reason provided by app for cancellation (if relevant).
Reason provided by site owner for cancellation (if relevant).
Cancellation type.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "PaidPlanAutoRenewalCancelled",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"operationTimeStamp": "2019-12-09T07:55:18.356Z",
"vendorProductId": "e8f429d4-0a6a-468f-8044-87f519a53202",
"cycle": "MONTHLY",
"cancelReason": "USER_CANCEL",
"userReason": "Cancel reason: No reason chosen",
"subscriptionCancellationType": "AT_END_OF_PERIOD"
}