JavaScript
Properties
When to Fire
- When refund is processed
- When Stripe
charge.refundedwebhook fires - When support issues refund
Stripe Webhook
Maps tocharge.refunded.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 refunded to the customer.
window._upstack('track', 'payment_refunded', {
accountId: 'acct_abc123',
invoiceId: 'inv_ghi012',
chargeId: 'ch_abc123',
subscriptionId: 'sub_def456',
amount: 9900,
refundReason: 'customer_request',
currency: 'USD',
isPartialRefund: false
});
| Property | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | Account identifier |
| amount | number | Yes | Refunded amount in cents |
| chargeId | string | No | Original charge identifier |
| invoiceId | string | No | Invoice identifier |
| subscriptionId | string | No | Subscription identifier |
| refundReason | string | No | Reason for refund |
| currency | string | No | ISO 4217 currency code |
| isPartialRefund | boolean | No | Whether this is a partial refund |
charge.refunded webhook firescharge.refunded.Was this page helpful?