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 refundedSTATUS
== "partially_refunded" indicates the order was only partially refunded
2. Retrieve the Recharge order
The charge/refunded
payload contains an order id
, allowing you to retrieve the order record.
GET
to /orders/:order_id
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 almost 2 years ago