Cancel a refund

Refunding creates a new order linked to the original order. By default, it has the same order_id as the original order. To override this, include in the request refund_order_id.

You can cancel a refund order if it is still in reserved state.

How to test

  1. Under Authentication > Query, enter an API key from your TEST account.
  2. Under Path params, enter the order ID of the order you want to refund.
  3. Under Body params, select the type of refund.
  4. Fill in the required parameters, and then click Try it!

❗️ Never use a live API key!

💬  For support, email [email protected]


Path Params
string
required

The unique identifier of the original order.

Max length: 50 characters.

string
required

The unique identifier of the transaction for the refund.

Body Params

Cancel a refund in reserved state

string
required

The refund order status.

To cancel the refund, set to void.

string
length ≤ 200

A variable for storing additional data about the cancellation.

Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json