Xsolla-logo

Check user’s ageClient-side

post/users/age/check

Checks user’s age for a particular region. The age requirements depend on the region. Service determines the user’s location by the IP address.

Request
Request Body schema: application/json
dob
required
string <date>

User’s birth date in the YYYY-MM-DD format.

project_id
required
string <uuid>

Login ID from Publisher Account.

Responses
200

OK

400

Bad Request

429

Too Many Requests

Request samples
application/json
{
  • "dob": "2019-08-24",
  • "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9"
}
Response samples
application/json
{
  • "accepted": true
}