JavaScript
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | Account identifier |
| addonId | string | Yes | Add-on identifier |
| subscriptionId | string | No | Subscription identifier |
| addonName | string | No | Human-readable add-on name |
| price | number | No | Add-on price in cents |
| currency | string | No | ISO 4217 currency code |
| billingInterval | string | No | month or year |
When to Fire
- When add-on is purchased from settings
- When add-on checkout completes
- When Stripe subscription item is added