# Reference App
source: https://developer.mastercard.com/authentication-consent/documentation/reference-app/index.md

This reference application will help to understand how the merchants/Payment Service Providers can integrate their backend service to connect to the Authentication Consent APIs to manage user consents.

## Pre-requisites {#pre-requisites}

* Java 8 or above
* Apache Maven 3.5 or above
* Any IDE (IntelliJ, STS or any other)
* An active `userConsentId` (Can be generated via ID\&V process) for successful APIs response.  
  For connectivity test, any random UUID can be used as `userConsentId`.   
  In that case, the retrieve and revoke user-consent APIs will fail with a 404 resource not found error. This is because the user-consent will not exist for unknown `userConsentId`. The Get Consent Language Text API will work here with success as it doesn't require `userConsentId`.

## Dependencies {#dependencies}

* Spring Boot - 2.4.4
* Lombok - 1.18.16
* Apache HttpClient - 4.5.13

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

Reference Application for Authentication Consent API is available below:  
[Authentication-Consent-Reference-Impl.zip](https://static.developer.mastercard.com/content/authentication-consent/uploads/Authentication-Consent-Reference-Impl.zip) (31KB) Note: The Reference Application built is for reference purposes only. Your production application does not need to function the same way.
