# Refund a Transaction

To refund a transaction:

{% stepper %}
{% step %}
Go to **Virtual Terminal** > **Transaction Search**.

The **Transaction Search** page opens.
{% endstep %}

{% step %}
Click the chevon down icon next to the **Void** button in the first column for a transaction.

A list of three options opens for a transaction row.
{% endstep %}

{% step %}
Select the **Refund** option.

The Issue a Refund page opens, including the following fields:

<table><thead><tr><th width="188">Field Name</th><th width="330">Description</th><th>Editable?</th></tr></thead><tbody><tr><td>AMOUNT</td><td>Enter the amount to refund.</td><td>Editable</td></tr><tr><td>COMMENTS</td><td>Enter the comment for a refund.</td><td>Editable</td></tr></tbody></table>
{% endstep %}

{% step %}
Click the **Issue Refund** button.
{% endstep %}
{% endstepper %}


---

# 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.xplorpay.com/merchant-portal/guides/virtual-terminal/transaction-search/refund-a-transaction.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.
