# Parameters
source: https://developer.mastercard.com/authentication-consent/documentation/parameters/index.md

## Consent Languages {#consent-languages}

|      Parameter      |                                                           Description                                                           |
|---------------------|---------------------------------------------------------------------------------------------------------------------------------|
| `consentLanguageId` | A unique identifier of a consent language text. Format is UUID * Min = 36 * Max = 36                                            |
| `longText`          | Actual consent language text. * Min = 50 * Max = 5000                                                                           |
| `defaultText`       | A short description of the consent language text. * Min = 50 * Max = 500                                                        |
| `privacyNoticeURL`  | A global Mastercard privacy policy URL                                                                                          |
| `consentType`       | Type of the consent.  Possible valid values: INDIA_FRICTIONLESS, DEVICE_AUTH and FRICTIONLESS_DEVICE_AUTH. * Min = 2 * Max = 50 |
| `version`           | Current version of the consent language. * Min = 3 * Max = 10                                                                   |
| `locale`            | Locale of the consent language text. * Min = 5 * Max =50                                                                        |

```json
{
    "consentLanguages": [
      {
        "consentLanguageId": "ca91870b-02e5-40e1-9ad6-88aded6a72ab",
        "longText": "By clicking below, you consent to bypass entry of One Time Password (OTP) for most
                     transactions below ₹2000 initiated from this merchant app on this device. You may
                     continue to receive an OTP for transactions at or above ₹2000. You can revoke
                     your consent any time within the merchant app.",
        "defaultText": "By consenting, you agree to the Mastercard Global Privacy Notice",
        "privacyNoticeURL": "https://www.mastercard.co.in/en-in/privacy.html",
        "consentType": "INDIA_FRICTIONLESS",
        "version": "1.0",
        "locale": "en-US"
      }
    ]
}
```

## User Consent {#user-consent}

|       Parameter       |                                                               Description                                                               |
|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
| `userConsentId`\*     | User consent Identifier, generated at the time of store consent API to track the user consents. * Min = 36 * Max = 36.                  |
| `consentLanguageId`\* | Unique Id for a specific consent language text. This Id will be available through the GET consent-languages API. * Min = 36 * Max = 36. |
| `consentedDate`\*     | Consented date (in UTC) at which the user consents. Format: YYYYMMDDHHMMSS. For example = 20200223000001 * Min = 14 * Max = 14.         |

```json
{
  "userConsentId": "83g7f996-1910-420f-b82b-vgg3e5196c76",
  "consentLanguageId": "75c4f996-1910-420f-b82b-fcc3e5196b99",
  "consentedDate": "20200223000001"
}
```

