# Subscriptions
# Subscription Started
Fired when a customer starts a subscription.
| Payload | Type | Description |
|---|---|---|
| event | string | SubscriptionStarted |
| string | Email of the customer who subscribed | |
| name | string | Name of the product being subscribed to |
| date | string | When the event occurred |
# Example Payload
{
"event": "SubscriptionStarted",
"email": "john@example.com",
"name": "Pro Plan",
"date": "2024-01-15 10:30:00"
}
# Subscription Stopped
Fired when a customer cancels or their subscription expires.
| Payload | Type | Description |
|---|---|---|
| event | string | SubscriptionStopped |
| string | Email of the customer who unsubscribed | |
| name | string | Name of the product that was unsubscribed from |
| date | string | When the event occurred |
# Example Payload
{
"event": "SubscriptionStopped",
"email": "john@example.com",
"name": "Pro Plan",
"date": "2024-03-15 10:30:00"
}