Start Liveness Verification

Calling startFaceLiveness

To start the liveness verification, use the startFaceLiveness function with the mobileToken and user's document ID.

Parameter
Type
Description
Required

mobileToken

string

Usage token associated with your CAF account.

personId

string

Identifier of the user who will perform the face liveness verification. It's recommended to use the user's identification document in this field, such as their CPF (Brazilian document ID), but it could be any other value.

Example

<Button 
  title="Start" 
  onPress={() => startFaceLiveness(mobileToken, personId)} 
/>

Last updated

Logo

2023 © Caf. - All rights reserved