subscription.created event is triggered when a new subscription is created.
Event Object
subscription.created
Event Data Object
The corresponding event data object as described below.
Data Object
string
The subscription ID from the provider (Stripe).
string
The product ID from the provider (Stripe).
string
The price ID from the provider (Stripe).
string
The project ID.
string
The product ID.
string
The price ID.
string
The user ID.
string
The email address of the user.
string | null
The start date of the subscription.
string | null
The end date of the subscription, if it has ended.
string | null
The date when the subscription is scheduled to cancel.
string | null
The date when the subscription was canceled.
boolean
Indicates if the subscription will be canceled at the end of the period.
string
The status of the subscription.
string | null
The end date of the trial period.
string | null
The start date of the trial period.