JavaScript
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | Yes | Subscription identifier |
| accountId | string | Yes | Account identifier |
| planId | string | Yes | Plan identifier |
| planName | string | No | Plan display name |
| billingInterval | string | No | day, week, month, or year |
When to Fire
- When subscription object is created in Stripe
- May precede first payment (for trials)
- After checkout session completes
Stripe Webhook
Maps tocustomer.subscription.created.