Liveness

livenessCheck

post

This method submits a biometric sample for liveness check.

Body
Responses
200

OK

application/json
post
POST /gbds/v2/liveness HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 77

{
  "data": {
    "source": "ORIGINAL",
    "type": "FACE",
    "format": "JPEG",
    "content": "text"
  }
}
200

OK

{
  "tguid": "text",
  "bonafideScore": 1
}

getLivenessResult

get

This method returns the liveness check result using the TGUID.

Path parameters
tguidstringRequired

Global unique ID of the transaction.

Responses
200

OK

application/json
get
GET /gbds/v2/liveness/{tguid} HTTP/1.1
Host: <ip>:8085
Accept: */*
200

OK

{
  "tguid": "text",
  "biometric": {
    "source": "ORIGINAL",
    "type": "FACE",
    "format": "JPEG",
    "content": "text"
  },
  "bonafideScore": 1
}