# Refunds

Refunds at the [Order](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.6/integrate-the-salesforce-lightning-app/step-5-add-custom-fields-to-the-page-layouts.md) and Line Item level are handled by Digital River's [Dashboard](https://dashboard.digitalriver.com/login). The Salesforce Lightning app provides a `Refunds` button on the order. Clicking the **Refunds** button will redirect the user to the **Order** details page in the Dashboard. Detailed steps on [initiating refunds](#initiate-refunds) are featured below.

## Initiate refunds

To initiate a refund:

1. Go to the **Order** record for the completed fulfillment (that is, the **Digital River Order State** field on the order is marked **Complete**).
2. Click the dropdown menu and select **Refunds**.\
   ![](/files/YI1m4EXISfDVztwJGQdo)
3. Click **Proceed**. You will be redirected to the **Digital River Order** page on the Dashboard.

   <img src="/files/qvDs05XozLRzJyMHaIqr" alt="" data-size="original">
4. Click [Create refund](https://docs.digitalriver.com/digital-river-api/administration/dashboard/order-management/orders/creating-a-refund) to initiate a refund.\
   The following refund options are available:
   * Complete Order
   * Line Items
   * Shipping
   * Importer Duty
   * Importer Tax
   * Tax
5. Select your refund option and click **Review and Submit**.\
   ![](/files/Oc8t0M7rdaKfd0PM13OJ)
6. Click **Submit**. Once the refund is initiated, the record is created in the **Refund** section of the Dashboard.\
   ![](/files/k10cp17CVQQsGtpBzHbg)

{% hint style="info" %}
You must add service representatives to the permission set, **DigitalRiver Connector – Refunds**, before making a refund request.

Refunds can only be made for Orders that are already fulfilled.
{% endhint %}


---

# 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/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.6/user-guide/refunds.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.
