# Age verification check

> Internet offers such as online or browser-based computer games, media libraries and streaming services or online gambling providers, but also the purchase of alcohol, require the user/customer to be of legal age so that the content, goods and services can be made accessible to them.

The check applies to accounts in Germany and Austria. Joint accounts are excluded from age verification. In addition, the account must be approved for payment transactions. Business accounts cannot be excluded at this time. The result of the age verification may not lead to clean results here.

## Used platforms

{% content-ref url="/pages/-MMGYELG7Nu06cfqiC6f" %}
[Javascript-Widget](/xs2a/integration-cs/integration-variants/javascript-widget.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MMGZLotDlDTXSMT-ne0" %}
[Analytics Platform (XS2A.risk)](/xs2a/integration-cs/platforms/risk.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MMGZN6bQ0XOFqIj0OPM" %}
[Open Banking Platform (XS2A.api)](/xs2a/integration-cs/platforms/api.md)
{% endcontent-ref %}

## Used checks

{% tabs %}
{% tab title="age\_verification\_check" %}
The XS2A.age\_verification\_check verifies the legal age of the account holder.
{% endtab %}
{% endtabs %}

The age verification check is available both as a classic risk check in xs2a.risk and as a check in xs2a.pay. If the age verification check is used in connection with pay, it is checked whether the user can be confirmed as of legal age. If this is not the case, the transaction will be canceled and the payment will not be executed. A last error is generated as information about the unconfirmed age verification (age\_verification\_not\_confirmed). “Legal age not confirmed” does not automatically mean under age, but simply that an legal age cannot be derived from the information available. A distinction is made between hard and soft criteria. The age of majority is confirmed with at least one hard criterion or at least two soft criteria that can be found in the account transactions.

## Example configuration

{% tabs %}
{% tab title="JSON" %}

```javascript
{
  "language": "de",
  "xs2a_age_verification_check": []
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.xs2a.com/xs2a/integration-cs/integration-by-use-case/age-verification-check.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
