# Refund an order

Refund a sale made in 2Checkout via the **issueRefund** API method. Depending on your business needs, you can refund only one sale item, the entire order amount, or a partial amount from the total order.

## Requirements <a href="#requirements" id="requirements"></a>

The payment for the refundable order needs to be collected.

You cannot issue a refund for an amount higher than the total order amount.

## Request parameters <a href="#parameters" id="parameters"></a>

| Parameter           | Type / Description                                                                                                                                                                                                                                                                                                                                                                |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `RefNo`             | <p><strong>Required (string)</strong></p><p>The order reference number of the sale for which the refund is issued. Example: '721924012'.</p>                                                                                                                                                                                                                                      |
| `Amount`            | <p><strong>Required (double)</strong></p><p>Refundable amount. Required as a supplementary check for partial refunds. Example: '26.00'.</p>                                                                                                                                                                                                                                       |
| `Comment`           | <p><strong>Optional (string)</strong></p><p>Comments are displayed to customers in the refund confirmation they receive. Example: 'Let us know if you are satisfied with the refund process'. </p>                                                                                                                                                                                |
| `Reason`            | <p><strong>Required (string)</strong></p><p>In case you have custom refund reasons defined on your account, send one of the reasons. If not, send one of the platform defined reasons. <a href="https://verifone.cloud/docs/2checkout/Documentation/27Refunds_and_chargebacks/Refunds/">Read more about 2Checkout refund reasons</a>.</p><p>Example: 'Unwanted auto-renewal'.</p> |
| `Items`             | <p><strong>Required only for partial refunds (array)</strong></p><p>In case you issue a partial refund, send the array with the information below.</p>                                                                                                                                                                                                                            |
| `Items.ProductCode` | <p><strong>Required (string)</strong></p><p>Send the product code belonging to the products to be refunded. The product code is available at product level, in the <strong>Information</strong> tab.</p>                                                                                                                                                                          |
| `Items.Quantity`    | <p><strong>Required (integer)</strong></p><p>Quantity to be refunded. Send only positive values.</p>                                                                                                                                                                                                                                                                              |
| `Items.Amount`      | <p><strong>Required (double)</strong></p><p>Total amount of the refunded line item, not the unit amount.</p>                                                                                                                                                                                                                                                                      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.2checkout.com/soap-api-reference/soap-api-6.0/api-requests/refund-an-order.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
