# Reference Application
source: https://developer.mastercard.com/pay-with-rewards/documentation/reference-app/index.md

## Overview {#overview}

The reference application shows a typical usage of the Pay with Rewards API and how to integrate different operations in the Sandbox environment. You can either re-use or take code references for your implementation.

## What you will learn {#what-you-will-learn}

* How to use the reference application
* How to configure your application for the Sandbox and the Production environments
* How to test your application

## Pre-requisites {#pre-requisites}

* [Java 11](https://www.java.com/en/) and above installed
* [IntelliJ IDEA](https://www.jetbrains.com/idea/) (or any other IDE of your choice)

## Technologies Used {#technologies-used}

* [Apache Maven](https://maven.apache.org/)
* [OpenAPI Generator](https://openapi-generator.tech/)

## Get the Source Code {#get-the-source-code}

* The source code for the Reference Application can be found here: [pay-with-rewards-reference-app.zip](https://static.developer.mastercard.com/content/pay-with-rewards/uploads/pay-with-rewards-reference-app.zip) (139KB).
* In the root directory of the application, follow the README.md file to configure and run the application.

Tip: If you'd rather start from scratch, take a look at our [Quick Start Guide](https://developer.mastercard.com/pay-with-rewards/documentation/quick-start-guide/index.md) page which includes guidance on consuming this API from a new project.
