JavaScript
Properties
| 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 |
When to Fire
- When refund is processed
- When Stripe
charge.refundedwebhook fires - When support issues refund
Stripe Webhook
Maps tocharge.refunded.