# Supported Testing Scenarios
source: https://developer.mastercard.com/authentication-consent/documentation/testing/supported-testing-scenarios/index.md

## Consent text {#consent-text}

### Collect consent text {#collect-consent-text}

**Endpoint**: /aes/consent-languages

| Scenario # |                  Scenario                   |                    Key Data                    |                   Sample Action                   |
|------------|---------------------------------------------|------------------------------------------------|---------------------------------------------------|
| 1          | Gather consent text to present a cardholder | locale=en-US\&consent_types=INDIA_FRICTIONLESS | Request consent text to present to the cardholder |

## Authentication Identity Check Insights {#authentication-identity-check-insights}

### Store consent {#store-consent}

**Endpoint**: /mtf/3ds/miserver/requestor/authentications

| Scenario # |                                                       Scenario                                                        | Device Channel | Message Category | Transaction Status |   Card Number    |                                                                Sample Action                                                                |
|------------|-----------------------------------------------------------------------------------------------------------------------|----------------|------------------|--------------------|------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
| 2          | IDCI Authentication request that results in a consent stored. (Transaction Status = U Transaction status reason = 80) | APP            | 80 (IDCI)        | U                  | 2303780000001005 | Request after a successful 3DS1.0 ID\&V completes                                                                                           |
| 3          | IDCI Authentication request that results in a failed consent. (Transaction Status = U with extension error)           | APP            | 80 (IDCI)        | U                  | 2303780000001005 | Request after a successful 3DS1.0 ID\&V completes. For the failure scenario execution, please provide a random UUID as consent language ID. |

## Retrieve Consent -- by Consent ID {#retrieve-consent--by-consent-id}

**Endpoint**: /aes/user-consents/{user_consent_id}

| Scenario # |                               Scenario                                |                                    Consent ID                                     | Card Number |                                    Sample Action                                    |
|------------|-----------------------------------------------------------------------|-----------------------------------------------------------------------------------|-------------|-------------------------------------------------------------------------------------|
| 4          | Check/retrieve existing consent by using user consent ID              | Please use the consent ID received after executing scenario 2                     | N/A         | Use any random UUID different from what is received on executing scenarios 7/8/9/10 |
| 5          | Unsuccessful Check/retrieve existing consent by using user consent ID | Please use a consent ID different than what was received after consent was stored | N/A         | Submit a request to revoke cardholder consent                                       |

## Revoke Consent -- by Consent ID {#revoke-consent--by-consent-id}

**Endpoint**: /aes/user-consents/{user_consent_id}

| Scenario # |                     Scenario                     |                          Consent ID                           | Card Number |                    Sample Action                     |
|------------|--------------------------------------------------|---------------------------------------------------------------|-------------|------------------------------------------------------|
| 6          | Revoke existing consent by using user consent ID | Please use the consent ID received after executing scenario 2 | N/A         | Submit a request to revoke consent from a cardholder |

