JavaScript
Properties
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.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Track when a subscription record is created in your billing system.
window._upstack('track', 'subscription_created', {
subscriptionId: 'sub_def456',
accountId: 'acct_abc123',
planId: 'plan_pro_monthly',
planName: 'Pro Plan',
billingInterval: 'month'
});
| 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 |
customer.subscription.created.Was this page helpful?