> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/utilities/manage-credit-card-payment-services/payment-gateways-in-xoro/how-to-initiate-a-refund-for-credit-card-payments-in-xoro.md).

# How to Initiate a Refund for Credit Card Payments in Xoro

When handling transactions in Xoro, situations may arise where a refund needs to be issued. Refunds can be processed back to the original card used for payment. The payments received can be refunded in Xoro through the payment gateways if the payment method selected is “Credit Card”. This guide outlines the steps to follow when the payment method used is a credit card. This helps to manage refunds correctly to ensure a smooth process and to maintain accurate financial records.

### **Refunding Deposits**

To refund the customer deposit, follow the steps below:

1. Navigate to the Customer Deposit Centre in Xoro and locate the deposit you wish to refund.
2. Right-click on the deposit and select the "Refund Balance" option.<br>

   <div align="left"><figure><img src="/files/C4xiWGlXrGrfZsnLNLmm" alt=""><figcaption></figcaption></figure></div>
3. If the deposit was made through card processing, the “Process Card” checkbox under the “Refund Via” will be automatically selected and disabled to ensure that the refund is sent to the card on which it was received.<br>

   <figure><img src="/files/Y7QbdZxd9Iv3L7lAImgJ" alt=""><figcaption></figcaption></figure>
4. Click on "Refund Deposit".

   <figure><img src="/files/OVbdNckZW2trhSJX2gnF" alt=""><figcaption></figcaption></figure>
5. The card will be auto-processed, and the refund will be issued. You can check the refund transaction in the Customer Refund Centre.<br>

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

#### **Partial Refunds**

* If you’re issuing a partial refund, simply enter the amount that needs to be refunded.<br>

  <figure><img src="/files/s095bGjuG8XPvskE7iLV" alt=""><figcaption></figcaption></figure>
* The remaining balance will be preserved in the system.
* The status of the deposit will change to “Partially Refunded”.<br>

  <figure><img src="/files/2qnMSHhWgN4xGuvvVd1u" alt=""><figcaption></figcaption></figure>

### **Customer Deposit Refund Email Notification**

**Step 1:** Enable the App Configuration **“Send Customer Deposit Refund Email”** from **Menu → Configuration → App Config → General**.

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

**Step 2:** Configure the refund email template from the Email Template settings:

* Select **Refund** as the entity and choose the **Customer Deposit Refund Receipt (Default)** template.
* Modify the subject or email content if required.

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

**Step 3:** Process the customer deposit refund using the standard refund steps described above.

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

<figure><img src="/files/3WF6mvsSNAKPKy1LZk9R" alt=""><figcaption></figcaption></figure>

**Step 4:** The system automatically sends the refund notification email to the customer’s **Billing Email**.&#x20;

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

If the Billing Email is not available, the email is sent to the customer’s **Main Email**.

### **Refunding Paid Invoices**

If an invoice has been paid using a credit card and you want to issue the refund back to the card. To process the refund, you can create an Invoice Credit Memo, Credit Memo or RMA (Return Merchandise Authorization) for the amount that needs to be refunded. You can then refund the balance on the credit memo and RMA.

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

When issuing the refund, make sure to click "Process Card" option under the "Refund Via" section. The credit card number used to make the payment will be automatically populated in this field.&#x20;

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

The credit memo can be issued for the total or a portion of the original payment.

{% hint style="info" %}
**Please note that it is strongly recommended, that if a payment is processed in Xoro through the Cards, then it should not be refunded directly from the Payment gateways.** The refunds should be initiated from Xoro by Voiding/Refunding a transaction. Voiding/Refunding a transaction outside of Xoro detaches the transaction and then needs involvement from the dev team to fix the issue. This only applies to the payment transaction that is processed via Xoro.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.xorosoft.com/xoroerp-1/utilities/manage-credit-card-payment-services/payment-gateways-in-xoro/how-to-initiate-a-refund-for-credit-card-payments-in-xoro.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.
