Skip to main content

Capture API

Methods to start a session
MethodDescription
prepareSelfieCamera(config, cameraType)Prepares the selfie camera
prepareDocumentCamera(config, documentType)Prepares the document camera
openCamera(listener)Opens the camera after prepare
Capture options / parameters

SelfieCameraType

ValueDescription
SMARTSmartFrame capture with liveness
NORMALStandard camera capture

DocumentType

ValueDescription
RGBrazilian RG
CNHBrazilian driver's license
CINBrazilian CIN
PASSPORTBrazilian Passport
Result types and fields

ResultCamera — object returned on success.

FieldTypeDescription
base64StringCaptured image in Base64
encryptedStringJWT to be sent to the backend