Face Authentication Webhook

Success Notification

The following code block shows an example of a payload for a successful attempt when the Face Authentication module is used.

Successful attempt

{
    "interviewId": <string>,
    "customerId": <string>,
    "externalCustomerId": <string>,
    "overallStatus": <string> ("PASS" | "FAIL"),
    "hint": <string>,
    "attemptCounterState": {
        "max": <int>,
        "remaining": <int>
    },
    "error": {
        "name": <string> (check possible codes below),
        "message": <string>
    }
}

Failure Notifications

Possible errors include:

The following code block shows an example of a payload for a failed attempt when the Face Authentication module is used. This payload includes 2 fields with information about the error: the error name and message.

Failed attempt

{
  "interviewId": "68e6492f71ccd116c458f59a",
  "customerId": "68e4e62e44106b8c9535436e",
  "overallStatus": "FAIL",
  "hint": "68e4e62e44106b8c9535436e",
  "error": {
      "name": "SPOOF_DETECTED",
      "message": "Spoof attempt detected"
   }
}