Use this API to detect live human presence and authenticate facial biometrics. The API analyzes facial characteristics and liveness signals to prevent spoofing attempts and validate genuine user presence. Returns comprehensive facial analysis including liveness confidence score and quality metrics. View the test data and use the information to trigger the validations. The test data are usable only in the test environment sandbox.
Your unique client identifier issued by Cashfree. You can find this in your Merchant Dashboard.
The secret key associated with your client ID. Use this to authenticate your API requests. You can find this in your Merchant Dashboard.
Send the signature if two-factor authentication is selected as Public Key. More details
API version to be used. Format is in YYYY-MM-DD.
"2024-12-01"
Find the request parameters of Face Liveness Check.
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.
"test_verification_id"
Upload the image of the individual to verify the liveness of the image. Supported types are jpeg, jpg and png.
"<image_file>"
Success response for checking the face liveness.
Unique reference ID generated by Cashfree.
1078756
It displays the unique ID you created to identify this API request.
"asbfhjjree1247"
The status of the face liveness verification request. Possible values:
"SUCCESS"
Indicates whether the detected face exhibits signs of being from a live person.
true
A confidence score between 0 and 1 indicating the probability that the face is from a live person.
0.98