DOM EventsEvent structures

Verification.Result

Emitted with the result of a verification attempt.

Fields

FieldTypeRequiredDescription
eventTypestringyesAlways "Verification.Result"
dataobjectyesVerification result data
data.verificationIdstring (UUID)yesUnique verification ID
data.statusstringyes"PASS" or "FAIL"
data.methodstringyesVerification method used (for example, "age-estimation-scan")
data.providerstringyesVerification provider (for example, "privately")
data.ageobjectnoAge range details. Present when your product's JavaScript result setting includes Age
data.age.lownumbernoLower bound of estimated age
data.age.highnumbernoUpper bound of estimated age
data.ageCategorystringnoOne of "adult", "digital-youth", "digital-minor". Present when your product's JavaScript result setting includes Age category
data.ageBandobjectnoThe age band the age falls in, with key, name, lowerAge, and an optional upperAge. Present only when ageCategory is present and the age falls inside a band for the verification's jurisdiction. See Age band
data.dobstringnoThe date of birth in ISO 8601 format (YYYY-MM-DD). Only set if the verification method provides it (for example, ID document scan) and your product's JavaScript result setting includes it

You choose which of dob, age, and ageCategory this message carries in the Age result card for the JavaScript result channel. ageBand follows ageCategory. A setting change takes effect after you publish. See Age result and Choose which age fields you receive.

Example

{
  "eventType": "Verification.Result",
  "data": {
    "verificationId": "4e57301e-a4d1-498f-ac3f-f3d4de19abf6",
    "status": "PASS",
    "method": "id-document",
    "provider": "veratad",
    "age": {
      "low": 43,
      "high": 43
    },
    "ageCategory": "adult",
    "dob": "1981-06-20"
  }
}

On this page