# Test Clarity in Clearing Data
source: https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md

## Overview {#overview}

This article provides further guidance on how you can test the Consumer Clarity Merchant Details and Digital Receipts data that you received in the Mastercard Dual Message Clearing System.

## Testing the PDS fields from Clearing {#testing-the-pds-fields-from-clearing}

To test the receipt of Consumer Clarity Merchant Details and Digital Receipts data in Dual Message Clearing System messages, use the [Mastercard Clearing Presentment Simulator (MCPS)](https://trc-techresource.mastercard.com/r/bundle/m_jw_en-us/page/d/en-US/pyl1643640678799.html).

The simulator provides virtually all of the testing capabilities available with online testing. With the simulator, you can conduct extensive preparations for online testing in an offline environment. Then, you can replicate the tests and procedures for scheduled online testing, which minimizes the time required to perform online testing.

### Mock data {#mock-data}

You can test the usage of these fields within back-office processes or cardholder-facing applications by using mock data for testing purposes.

| PDS 0032 (Enhanced Acceptor Name) | PDS 0033 Enhanced Acceptor Latitude | PDS 0033 Enhanced Acceptor Longitude | PDS 0033 Enhanced Geolocation Proximity Type |                                   PDS 0034 (Acceptor Logo URL)                                    |                                  PDS 0035 (Digital Receipts URL)                                   |
|-----------------------------------|-------------------------------------|--------------------------------------|----------------------------------------------|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| Ethoca Ninja Games                | 40.4396                             | -79.9762                             | ADMINISTRATIVE_AREA                          | <https://sandbox.content.ethoca.com/b/merchant/9ad4e625-3b95-4d18-adbc-f607f519881d.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/IquT06fjuEtgSP-483PikmtugxwiGiM5yGzul8jZiHM> |
| Ethoca Chairs                     | 37.3836                             | -122.0256                            | ADMINISTRATIVE_AREA                          | <https://sandbox.content.ethoca.com/b/merchant/49d8f0d2-5eaa-4080-bb1d-7d4b03f247ad.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/9imk28MvoKxjR-dBz-13nH03VHFQ2eak_3EizHt1BXg> |
| Ethoca Air                        | 29.7863                             | -95.3889                             | ADMINISTRATIVE_AREA                          | <https://sandbox.content.ethoca.com/b/merchant/d26408d5-ad67-4cf5-a0dc-12a4f6e42de2.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/T-Da0r8-8nbA244erVHG6D8SQICbXuE11Tmh6-9c_5o> |
| Ethoca Threads                    | 30.3004                             | -97.7522                             | ADMINISTRATIVE_AREA                          | <https://sandbox.content.ethoca.com/b/merchant/6c437557-4d44-4951-b86a-75f7639ffcda.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/B8Pl_fg-wOvvvuk1rGS2towh0DOZXMA2L7SALsvYBVs> |
| Ethoca Amazon                     | -89.1234                            | 129.123456                           | STOREFRONT                                   | <https://sandbox.content.ethoca.com/b/industry/bc269f9a-bed7-4e7f-b78a-087d309c6a8d.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/1/0/gN_e89VaxQd6jGI3BVeJQeByJ8O_Syb1lczhSaKlCm8> |

The following sample test cases show you what you can expect from the specified mock data provided.
Note: The receipt URL provided in these test case responses is an example and doesn't represent an actual receipt. The receipt URL provided by the testing tool is not functional until an access token is added and is only active for 15 minutes, at which time it expires.

## Test Cases {#test-cases}

You can use MCPS to create First Presentment/1240 messages that contain these fields, as shown in each test case:

* PDS 0032 (Enhanced Acceptor Name)
* PDS 0033 (Enhanced Acceptor Geolocation)
* PDS 0034 (Acceptor Logo URL)
* PDS 0035 (Digital Receipts URL)

### TC1 - Standard receipt {#tc1---standard-receipt}

For this test case, the data returns a standard receipt URL.

#### Data received {#data-received}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Ninja Games              | 40.4396                                           | -79.9762                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/9ad4e625-3b95-4d18-adbc-f607f519881d.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/IquT06fjuEtgSP-483PikmtugxwiGiM5yGzul8jZiHM> |

#### Receipt returned for test case 1 {#receipt-returned-for-test-case-1}

![Digital receipt returned for test case 1](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC1.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC2 - Receipt showing line item discount {#tc2---receipt-showing-line-item-discount}

For this test case, a Digital Receipts URL is returned that shows a discount was made on one of the items in the purchase.

#### Data received {#data-received-1}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Ninja Games              | 40.4396                                           | -79.9762                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/9ad4e625-3b95-4d18-adbc-f607f519881d.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/SwsKV5AYZfu3AP6ZNL-FYmxbW762i3Goe2g-XSvXOz8> |

#### Receipt returned for test case 2 {#receipt-returned-for-test-case-2}

![Digital receipt returned for test case 2](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC2.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC3 - Receipt showing overall discount {#tc3---receipt-showing-overall-discount}

In this scenario, a Digital Receipts URL is returned that shows a discount was made on the entire purchase. The purchase in this case was made in US dollars.

#### Data received {#data-received-2}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Chairs                   | 37.3836                                           | -122.026                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/49d8f0d2-5eaa-4080-bb1d-7d4b03f247ad.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/9imk28MvoKxjR-dBz-13nH03VHFQ2eak_3EizHt1BXg> |

#### Receipt returned for test case 3 {#receipt-returned-for-test-case-3}

![Digital receipt returned for test case 3](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC3.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC4 - Receipt showing refund {#tc4---receipt-showing-refund}

In this scenario, a Digital Receipts URL is returned in the response and indicates a refund was made of the entire purchase.

#### Data received {#data-received-3}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Ninja Games              | 40.4396                                           | -79.9762                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/9ad4e625-3b95-4d18-adbc-f607f519881d.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/1/0/YYrhaWOO63uRqvnMYEydTxotPZAP5D7lAfKI9v6fUfk> |

#### Receipt returned for test case 4 {#receipt-returned-for-test-case-4}

![Digital receipt returned for test case 4](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC4.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC5 - Receipt in Euros (EUR) {#tc5---receipt-in-euros-eur}

Here, the transaction was made in Euros and a digital receipt is found and the URL is returned in the response.

#### Data received {#data-received-4}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Chairs                   | 37.3836                                           | -122.026                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/49d8f0d2-5eaa-4080-bb1d-7d4b03f247ad.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/QAEEZH4r1t5m4LL668KPZVzK4XbGDuTpYEzzI9qJ7aY> |

#### Receipt returned for test case 5 {#receipt-returned-for-test-case-5}

![Digital receipt returned for test case 5](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC5.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC6 - Receipt in British pound sterling (GBP) {#tc6---receipt-in-british-pound-sterling-gbp}

For this test case, a transaction is made in British pound sterling. A digital receipt is found that matches and a URL is returned in the response.

#### Data received {#data-received-5}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Chairs                   | 37.3836                                           | -122.026                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/49d8f0d2-5eaa-4080-bb1d-7d4b03f247ad.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/POcaASaxarzCfA1i78EBU9wAGAvQRDaaprXq32C17FU> |

#### Receipt returned for test case 6 {#receipt-returned-for-test-case-6}

![Digital receipt returned for test case 6](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC6.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC7 - Receipt for lodging {#tc7---receipt-for-lodging}

Here, a Digital Receipts URL is returned in the response for a transaction related to lodging.

#### Data received {#data-received-6}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Hotel Group              | 41.8373                                           | -87.6862                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/a5aedeb1-d70d-4832-9bc4-8b83e74c1213.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/zT-x1S5Gq6gmhLe8n3I8ezy4kBYLb9YITmVGQBEmAds> |

#### Receipt returned for test case 7 {#receipt-returned-for-test-case-7}

![Digital receipt returned for test case 7](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC10.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC8 - Receipt for air travel {#tc8---receipt-for-air-travel}

Here, a digital receipt for air travel is found and the digital receipt URL is returned in the response.

#### Data received {#data-received-7}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Air                      | 29.7863                                           | -95.3889                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/d26408d5-ad67-4cf5-a0dc-12a4f6e42de2.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/T-Da0r8-8nbA244erVHG6D8SQICbXuE11Tmh6-9c_5o> |

#### Receipt returned for test case 8 {#receipt-returned-for-test-case-8}

![Digital receipt returned for test case 8](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC8.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC9 - Receipt for a clothing retailer {#tc9---receipt-for-a-clothing-retailer}

Here, a digital receipt for a clothing retailer is located and the Digital Receipts URL is returned in the response.

#### Data received {#data-received-8}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Threads                  | 30.3004                                           | -97.7522                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/6c437557-4d44-4951-b86a-75f7639ffcda.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/0/0/B8Pl_fg-wOvvvuk1rGS2towh0DOZXMA2L7SALsvYBVs> |

#### Receipt returned for test case 9 {#receipt-returned-for-test-case-9}

![Digital receipt returned for test case 9](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC9.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC10 - External receipt {#tc10---external-receipt}

For this test case, the transaction is processed through Amazon. The receipt link that's returned takes an Amazon user to their Order History page for the merchant in the relevant region.

Note that Amazon.com, Amazon.ca, and Amazon.co.uk all function like separate merchants. Purchases made on one aren't visible on the others.

#### Data received {#data-received-9}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Amazon                   | -89.1234                                          | 129.123                                            | STOREFRONT                                              |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/industry/bc269f9a-bed7-4e7f-b78a-087d309c6a8d.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/1/0/gN_e89VaxQd6jGI3BVeJQeByJ8O_Syb1lczhSaKlCm8> |

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC11 - Transaction not found {#tc11---transaction-not-found}

For this test case, a digital receipt for air travel is located even though the transaction isn't found. A Digital Receipts URL is returned in the response, but indicates that the transaction isn't found. It also includes merchant details so that the cardholder can contact the merchant.

#### Data received {#data-received-10}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Air                      | 29.7863                                           | -95.3889                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/d26408d5-ad67-4cf5-a0dc-12a4f6e42de2.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/1/0/gN_e89VaxQd6jGI3BVeJQeByJ8O_Syb1lczhSaKlCR8> |

#### Receipt returned for test case 11 {#receipt-returned-for-test-case-11}

![Digital receipt returned for test case 11](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC11.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)

### TC12 - Receipt not found {#tc12---receipt-not-found}

In this scenario. a digital receipt can't be located. The URL returned in the response indicates that the receipt isn't found.

#### Data received {#data-received-11}

| PDS 0032 Enhanced Acceptor Name | PDS 0033 Enhanced Acceptor Geolocation - Latitude | PDS 0033 Enhanced Acceptor Geolocation - Longitude | PDS 0033 Enhanced Acceptor Geolocation - Proximity Type |
|---------------------------------|---------------------------------------------------|----------------------------------------------------|---------------------------------------------------------|
| Ethoca Air                      | 29.7863                                           | -95.3889                                           | ADMINISTRATIVE_AREA                                     |

|                                    PDS 0034 Acceptor Logo URL                                     |                                   PDS 0035 Digital Receipts URL                                    |
|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
| <https://sandbox.content.ethoca.com/b/merchant/d26408d5-ad67-4cf5-a0dc-12a4f6e42de2.png?size=400> | <https://sandbox.api.ethocaweb.com/ethoca/receipt/1/0/gN_e89VaxQd6jGI3BVeJQeByJ8O_uyb1lczhSaKlCR8> |

#### Receipt returned for test case 12 {#receipt-returned-for-test-case-12}

![Digital receipt returned for test case 12](https://static.developer.mastercard.com/content/consumer-clarity/documentation/img/clearing/receipts/TC12.png)

[Back to top](https://developer.mastercard.com/consumer-clarity/documentation/clarity-in-clearing/cic-testing/index.md#test-cases)
