Start Document Verification

Calling startDocumentDetector

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

Parameter
Type
Description
Required

mobileToken

string

Usage token associated with your CAF account.

personId

string

User's document ID.

Example

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

Last updated

Logo

2023 © Caf. - All rights reserved