Every event has the common fields and a data object, the snapshot of the entity at the moment of the event. This page lists what data holds, for the version 2026-01 of the format.
Events
| Event | When |
|---|
subscription.canceled | A subscription is canceled. |
subscription.created | A subscription is created. |
subscription.deleted | A subscription is deleted. |
subscription.updated | A subscription is updated. |
Payloads
Payload of subscription.canceled
Also sent for: subscription.created, subscription.updated.
| Field | Type | Notes |
|---|
data.id | uuid | |
data.stripeId | string | |
data.storeCustomerId | uuid | |
data.stripeCustomerId | string | |
data.stripeAccountId | string | |
data.storeId | uuid | |
data.status | string | |
data.activeSince | datetime | optional, can be null |
data.currentPeriodEnd | datetime | optional, can be null |
data.cancelAtPeriodEnd | boolean | |
data.latestInvoiceId | string | optional, can be null |
data.latestInvoiceUrl | string | optional, can be null |
data.trialStart | datetime | optional, can be null |
data.trialEnd | datetime | optional, can be null |
data.createdAt | datetime | optional |
data.updatedAt | datetime | optional |
Payload of subscription.deleted
| Field | Type | Notes |
|---|
data.subscriptionId | uuid | |