POST
/
identityDocuments
/
verifications

Body

application/json
customerId
string
required

ID of Customer

documentType
enum<string>
required

Type of ID document

Available options:
passport,
national_identity_card,
driver_license,
other,
unknown
frontImage
string
required

Color image file of the ID document. Supported formats: bitmap, jpeg, png and pdf. Image size has to be between 30KB and 5MB

sessionKey
string
required

uiud that identifies the given customer session

backImage
string

Image file of the back of the ID document (only applicable for 2-sided ID document)

inputData
object

User-provided identity data and document data. If this field is provided, sardine will check match/mismatch between user-provided information and data on the ID document

photoImage
string

selfie image, if provided Sardine will compare selfie with photo in ID document

Response

200 - application/json
id
string

ID of document verification

sessionKey
string

uuid that identifies the given customer session