JavaScript
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | Account identifier |
| planId | string | Yes | Trial plan identifier |
| planName | string | No | Human-readable plan name |
| trialEndDate | string | No | ISO 8601 trial expiration date |
| trialDaysRemaining | number | No | Days until trial expires |
When to Fire
- After trial signup confirmation
- After trial activation in billing system
- After Stripe
customer.subscription.createdwith trial
Stripe Webhook
Maps tocustomer.subscription.created when the subscription has a trial period.