Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Paid Plan Purchased Webhook

When you sign up for the Paid Plan Purchased webhook, you will receive this notification when a site owner purchases a paid plan

Event Body

Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.

Event Data

NAME
TYPE
DESCRIPTION
vendorProductId

string

operationTimeStamp

string

invoiceId

string

couponName

string

expiresOn

string

cycle

string

Supported values: NO_CYCLE, MONTHLY, YEARLY, ONE_TIME.

Was this helpful?

The data payload will include the following as an encoded JWT:

Event Body

json

1{
2 "data": {
3 "eventType": "<event-type>",
4 "instanceId": "<app-instance-id>",
5 "data": "<stringified-JSON>"
6 }
7}

The parsed data will include:

Sample Data

json

1
2{
3 "data": {
4 "operationTimeStamp": "2019-12-09T07:44:53.659Z",
5 "vendorProductId": "e8f429d5-0a6a-468f-8044-87f519a53202",
6 "cycle": "MONTHLY",
7 "expiresOn": "2020-01-09T07:44:53Z"
8 },
9 "instanceId": "8e9d6b70-6eb9-4ab4-a62d-e033063e2f05",
10 "eventType": "PaidPlanPurchased"
11}