JavaScript
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | Account identifier |
| amount | number | Yes | Payment amount in cents |
| invoiceId | string | No | Invoice identifier |
| subscriptionId | string | No | Subscription identifier |
| currency | string | No | ISO 4217 currency code |
When to Fire
- When charge succeeds
- When invoice is paid
- When Stripe
invoice.paidwebhook fires
Stripe Webhook
Maps toinvoice.paid or charge.succeeded.