1DE1DE · Partner
← Partner Portal
Age Verification

Verify age.

The user opens the MiniApp and receives a short code. Enter it here — the user confirms in the app, and you get the verified age back. No onboarding, no ID data.

01

The user opens the MiniApp and sees a code.

02

Enter the code here and verify.

03

The user confirms with "Yes" in the app.

04

You receive the confirmed age.

4–8 characters, as shown in the MiniApp.
The user sees in the MiniApp:

API Documentation

You can also integrate age verification directly server-to-server. Two endpoints, one API key, no onboarding.

Credentials

Base URL
API key · Header X-API-Key
POST/api/v1/verify

Send the code that the user sees in the MiniApp. The response comes back immediately with a requestId; you fetch the actual result by polling the second endpoint.

Request Body

FieldTypeDescription
code *string4–8 characters, alphanumeric — as shown in the MiniApp.
partnerName *stringShown to the user in the MiniApp.
expectedNamestringOptional. Enables name-match mode.

Example

# Verify code
curl -X POST https://altersbestatigung.temmuz.uk/api/v1/verify \
  -H "X-API-Key: <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"code":"ABCDE","partnerName":"shop.de"}'

Response · 200

{
  "requestId": "T6w64F8gpKYBEBvrvYjGb4YJiG5yki5p",
  "status": "pending",
  "expiresAt": 1778246397189
}

Errors

CodeMeaning
401invalid_api_key — key missing or invalid.
400invalid_body — body incomplete or malformed.
404code_not_found — code unknown.
410code_expired — code expired.
409code_not_available — code currently unavailable.
GET/api/v1/verify/{requestId}

Poll every 1–2 seconds until status is no longer pending. On confirmed you get the age back.

Example

curl https://altersbestatigung.temmuz.uk/api/v1/verify/<requestId> \
  -H "X-API-Key: <YOUR_API_KEY>"

Response · confirmed

{
  "requestId": "T6w64F8…",
  "status": "confirmed",
  "age": 36
}

Possible statuses

confirmed + age pending rejected expired name_mismatch

No ID data is transmitted. You receive only the confirmed age (or a yes/no answer for name match). In this demo environment, the base URL and API key are openly visible for testing purposes.