To cancel a paid and issued order, you need to create a refund application to refund the order as long as the applicable refund rules allow refund.

1. Create an order refund application

If the order is paid and order items are already issued, then your ability to cancel the order is not guaranteed, because refund in this scenario is subject to applicable refund rules. That means whether you can refund the order and how much refund you can get depend on the applicable rules.

You can use this API to see whether an order is refundable.

  1. If the response of the API shows that the order items are non-refundable, then you are unable to refund the order and you can not get your money back.

  2. If the response of the API shows that the order items are refundable, then you will be able to refund the order, but how much refund you can get depends on the applicable rules. Please check the refunds in the response.

2. Get a single refunded order

Retrieve an order refund by the RefundID.

3. List refunded orders

Retrieve a list of order refund.

Refund service schema

To see all of the options you can provide and everything that we’ll return back, please refer to Order Refund Service.