> 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                                                                                                                                                                                           |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](https://414590445-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yCod23DpRJz8E6kZwmN%2Fuploads%2Fgit-blob-7bee165f90fcc7e4430a26117e030b9982c84f76%2Fmerchant_reference.png?alt=media) | ![](https://414590445-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yCod23DpRJz8E6kZwmN%2Fuploads%2Fgit-blob-d61362a3b7d76af11bf547e8cdad9e773fc78799%2Fcustomer_reference.png?alt=media) | ![](https://414590445-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yCod23DpRJz8E6kZwmN%2Fuploads%2Fgit-blob-056d764c5c5d5dcf4f8c1a6f5cbfd841b5c6a543%2Fmerchant_customer_reference.png?alt=media) |

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

{% columns %}
{% column width="33%" %}
![](https://414590445-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yCod23DpRJz8E6kZwmN%2Fuploads%2Fgit-blob-fabf9963bdc0c26fe725f8cb809b11f498c0c1be%2Fadvanced_search_reference.png?alt=media)
{% 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%" %}
![](https://414590445-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yCod23DpRJz8E6kZwmN%2Fuploads%2Fgit-blob-e66ed6d52bcfa2104876c504d21d4387bc4a4363%2Forder_history_merchant_reference.png?alt=media)
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
