# Reference App source: https://developer.mastercard.com/ethoca-consumer-clarity-for-merchants/documentation/reference-app/index.md ## Overview {#overview} The reference application demonstrates how a merchant-hosted Java endpoint can receive and process requests from Ethoca's Merchant Transaction API. Use the supplied client and sample data to send requests to the sample merchant endpoint and review the returned merchant and transaction details. Note: The reference application is sample code for learning and testing. Review and modify the implementation, configuration, security controls, data access, error handling, and operational controls before using any part of it in production. ## Get the Source Code {#get-the-source-code} The reference application is explained in-depth in the tutorial. You can also download a zip file of the source code. | Item | Description | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------| | [Reference Application Tutorial](https://developer.mastercard.com/ethoca-consumer-clarity-for-merchants/documentation/tutorials-and-guides/reference-app-tutorial/index.md) | An in-depth explanation of the reference app | | [merchant-api-demo.zip](https://static.developer.mastercard.com/content/ethoca-consumer-clarity-for-merchants/uploads/merchant-api-demo.zip) (190KB) | Downloadable reference application source code zip file | ## Related Documentation {#related-documentation} * [Authentication and Encryption](https://developer.mastercard.com/ethoca-consumer-clarity-for-merchants/documentation/api-basics/authentication-and-encryption/index.md) * [API Reference](https://developer.mastercard.com/ethoca-consumer-clarity-for-merchants/documentation/api-reference/index.md) * [Integration and Testing](https://developer.mastercard.com/ethoca-consumer-clarity-for-merchants/documentation/testing/index.md)