Input to verifyIdentityDocument method

interface VerifyIdentityDocumentInput {
    backImageBase64: string;
    country: string;
    documentType: IdDocumentType;
    faceImageBase64?: string;
    imageBase64: string;
    verificationMethod: VerificationMethod;
}

Properties

backImageBase64: string

Base64 encoded image of back of government ID document

country: string

ISO 3166-1 alpha-2 country code, e.g. US.

documentType: IdDocumentType

Type of id document being presented.

faceImageBase64?: string

Base64 encoded image of face image to compare to ID document

imageBase64: string

Base64 encoded image of front of government ID document

verificationMethod: VerificationMethod

Verification method to use to verify data. VerificationMethod.GovernmentID is the only supported value