Initiates a full refund for a specified order.
Once the API call is successful, the refund process begins. The result of the refund, whether it succeeds or fails, is communicated asynchronously when the order status updates to Refunded
or Refund Failed
. You can track the order status in the Orders tab of the Publisher Dashboard.
If the refund is completed successfully, the total order amount is reimbursed, and the Order Refunded event is triggered.
Note: This action is final and can’t be undone.
The publisher token used for authentication.
The user ID initiating the refund for the order.
Order ID to refund.
Refund initiated successfully.
Returns an empty object.