Liveliness Check
Use this API to verify if the customer is genuine and not a bot. We analyse the facial features of your customer in the picture or a selfie for identification. View the test data and use the information to trigger the validations. The test data are usable only in the test environment sandbox.
Authorizations
Client ID. You can find your ID in the Merchant Dashboard.
Client secret key. You can find your secret key in the Merchant Dashboard.
Body
Find the request parameters to check the liveliness in an image
Upload the image of the individual to verify the liveliness of the image. Supported types(jpeg/jpg/png)
It is the unique ID you create to identify the verification request. The maximum character limit is 50. Only alphanumeric, period (.), hyphen (-) and underscore ( _ ) are allowed.
It is the boolean value to set the strictness check of the image. Default value for strict_check is false
.
Response
Success response for Liveliness Check API
It displays the result of the liveliness check.
It displays the unique ID created by Cashfree Payments for reference purposes.
format: int64
It displays the score of the liveliness check.
Range: 0 < x < 1
It displays the status of the API request. Possible values are:
SUCCESS
: A face is detected.FACE_NOT_DETECTED
: A face is not detected.MULTIPLE_FACE_DETECTED
: Multiple faces are detected.
It displays the unique ID you created to identify the API request.
Was this page helpful?