JavaScript
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | Yes | Subscription identifier |
| accountId | string | Yes | Account identifier |
| planId | string | No | Plan identifier |
| planName | string | No | Plan display name |
| value | number | No | Payment amount in cents |
| currency | string | No | ISO 4217 currency code |
| billingInterval | string | No | month or year |
| renewalNumber | number | No | Which renewal this is (2nd, 3rd, etc.) |
When to Fire
- Each recurring billing cycle
- When Stripe
invoice.paidfires for an existing subscription - Monthly/annual renewal charge succeeds
Stripe Webhook
Maps toinvoice.paid for existing subscriptions (not the first invoice).