# Creating a refund

To create a refund:

1. Click **Orders** in the left navigation. The Orders page appears.
2. [Filter your orders](/digital-river-api/administration/dashboard/order-management/orders/filtering-your-orders.md) if needed.
3. Click the order ID link under the **ID** column. The Order details page appears.
4. Scroll down to **Refunds**.
5. Click **Create refund**. The Create refund modal appears.

   <figure><img src="/files/dlDdjnospmaEIdiC5u2G" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/ZfuRnhhh6nqVDsUvrDMc" alt=""><figcaption></figcaption></figure>
6. Choose the types of refunds you want to create. Selecting an option reveals more details about that option. This example uses the **Whole order** options. Your options are:
   * **Whole order**–a refund for the entire order
   * **Line items**–choose the specific line items to refund
   * **Shipping**–a refund on shipping
   * **Importer duty**–a refund on the importer duty
   * **Importer tax**–a refund on the importer tax
   * **Fees**–a refund on the fees
   * **Tax**–a refund on the tax
7. Enter the amount to refund in the **Refund Amount** field. Note that the amount you can refund the customer is limited to the amount available in the **Available refund amount** field.\\

   <figure><img src="/files/oiYKEenVcFgAeLjl8VlH" alt=""><figcaption></figcaption></figure>
8. For a **Line items** refund, select the quantity using the **Qty** drop-down. Note that the **Quantity** multiplies the **Refund amount** to create the refund total.\
   **Note:** For orders with multiple items, select **0** from the drop-down for the items you do not want to refund.

   <figure><img src="/files/YECrgbsR5SH0ypoSO2JE" alt=""><figcaption></figcaption></figure>
9. Review your chosen options and enter any required information. Then click **Review and submit** to process the refund. Note that the amount you can refund the customer is limited to the amount available in the **Available refund amount** field.
10. A confirmation dialog box opens for you to review and submit the refund. Click **Submit**.

    <figure><img src="/files/R8B9a45DJvxhTLqtVUjP" alt=""><figcaption></figcaption></figure>
11. The refund will appear in the **Refunds** table on the Order details page.

    <figure><img src="/files/8Ynr67YzeCAyvkXUqTQ0" alt=""><figcaption></figcaption></figure>
12. Click the link under **Refund ID** to view the refund details.

    <figure><img src="/files/IjbSM72erqMyhGWwyTei" alt=""><figcaption></figcaption></figure>


---

# 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.digitalriver.com/digital-river-api/administration/dashboard/order-management/orders/creating-a-refund.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.
