JavaScript
Properties
When to Fire
- When charge succeeds
- When invoice is paid
- When Stripe
invoice.paidwebhook fires
Stripe Webhook
Maps toinvoice.paid or charge.succeeded.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Track when a payment is processed successfully.
window._upstack('track', 'payment_succeeded', {
accountId: 'acct_abc123',
invoiceId: 'inv_ghi012',
subscriptionId: 'sub_def456',
amount: 9900,
currency: 'USD'
});
| 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 |
invoice.paid webhook firesinvoice.paid or charge.succeeded.Was this page helpful?