Subscription Upgraded

Payload

The payload of this webhook request is an object.
dataobjectOptional
event_timestampintegerOptional

The date the event was created. Measured in seconds since the Unix epoch.

event_typestringOptional

The event type.

uidstringOptional

The prefixed event ID, unique to each webhook event.

Response

200
any
Return a 200 status to indicate that the data was received successfully.
Payload
1{
2 "data": {
3 "created": 1666800076,
4 "email": "[email protected]",
5 "id": "sub_00000000-0000-0000-0000-000000000000",
6 "referral_code": "ABC123",
7 "referring_site": "https://www.blog.com",
8 "status": "active",
9 "subscription_tier": "premium",
10 "subscription_premium_tier_names": [
11 "Premium",
12 "Pro"
13 ],
14 "stripe_customer_id": "cus_00000000000000",
15 "utm_campaign": "Q1 Campaign",
16 "utm_channel": "website",
17 "utm_medium": "organic",
18 "utm_source": "Twitter"
19 },
20 "event_timestamp": 1666800076,
21 "event_type": "subscription.upgraded",
22 "uid": "evt_00000000-0000-0000-0000-000000000000"
23}