> For the complete documentation index, see [llms.txt](https://docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verifone.com/functional-specification/add_reference.md).

# 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
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, and the optional `goal` query parameter:

```
GET https://docs.verifone.com/functional-specification/add_reference.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
