The table below lists the webhook events available for refunds.
Webhook Event
Description
refund.created
Triggered when a refund is created.
refund.processed
Triggered when the refund is successfully processed.
refund.failed
Triggered when we are not able to process a refund.
refund.speed_changed
Triggered when the processing speed changes from instant to normal and the requested speed was set to optimum. This is applicable for Instant Refunds only.
Handy Tips
If you have changed your webhook secret, remember to use the old secret for webhook signature validation while retrying older requests. Using the new secret will lead to signature mismatch.
Do Not Parse or Cast the Webhook Request Body
While generating a signature at your end, ensure that the webhook body is passed as an argument in the raw webhook request body. Do not parse or cast the webhook request body.