# Merchant Reference and Customer Reference

Allows a merchant to optionally add a \_merchant [reference\_](#system-message-1), a \_customer [reference\_](#system-message-2), or both to each transaction. Either reference string can be used as a search criteria when searching the transaction history on the terminal.

| Merchant Reference               | Customer Reference               | Merchant and Customer Reference  |
| -------------------------------- | -------------------------------- | -------------------------------- |
| ![](/files/QCRCwzOu0ZIOFHF1Ytzr) | ![](/files/EJDCI1HkOBGVvuQGmQoC) | ![](/files/NulgSf2sJcdW2nRy5fmA) |

## Advanced Search option <a href="#advanced-search-option" id="advanced-search-option"></a>

{% columns %}
{% column width="33%" %}
![](/files/3hoO529a7ZmdVpn1aqxR)
{% endcolumn %}

{% column %}
Displays list of transactions which match the searched merchant or customer reference.

\*\*Description\*\*

All transactions that match the merchant or customer reference partially or in full, regardless of case when searching for any reference through the Advanced Search option.

\
\*\*Merchant action\*\*

Enter a merchant or customer reference to search.
{% endcolumn %}
{% endcolumns %}

***

## Order History screen <a href="#order-history-screen" id="order-history-screen"></a>

The order history screen showing a transaction with merchant reference.

{% columns %}
{% column width="33%" %}
![](/files/MBVefcUOuefBcTfPMlWA)
{% endcolumn %}

{% column %}
The merchant reference: “\[cofee\@17thstreet]\(mailto:cofee%4017thstreet)”
{% endcolumn %}
{% endcolumns %}

\---

### Configuration Parameters <a href="#configuration-parameters" id="configuration-parameters"></a>

* `Merchant.EnableReference` - Enables addition of the merchant reference (1: Enabled , 0: Disabled)
* `Merchant.EnableCustomerReference` - Enables the addition of the customer reference (1: Enabled , 0: Disabled)
* `Merchant.ReferencePromptMaxLength` - Maximum allowed length of merchant or customer reference values


---

# 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.verifone.com/functional-specification/add_reference.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.
