Refund and cancel orders
We recommend syncing refunds processed via Recharge with your external system to avoid conflicting order information.
1. Receiving the charge/refunded webhook
Your application can listen for the
charge/refunded webhook which alerts a refund occurred. There are two statuses for this hook:
STATUS== "refunded" indicates the order was entirely refunded
STATUS== "partially_refunded" indicates the order was only partially refunded
2. Retrieve the Recharge order
charge/refunded payload contains an order
id, allowing you to retrieve the order record.
3. Update order on external platform
Using the order data you derived from step two, you can update the order record in your external system — adjusting line items or taxes, for example — as necessary
Updated over 1 year ago