Validate Document (base64)

This endpoint allows the OCR validation process on the document sent on the request. ( Expecting images to be string base64)

To perform a document validation, the method to be used is Validate Document. The request to this method requires the sending of two photos (front & back of the document represented in string base64).

This process will perform:

  • Automatic ID type recognition

  • Algorithmic-based checks

  • Detect security features in global identity documents

  • Reading and extraction of all documents fields

In case of a validation success BiometrID will retrieve all the data extracted from the document.

Validate Document (base64)

POST Https://api.biometrid.com/api/1.1/document/validate-base64

Validate document process

Headers

Name
Type
Description

Content-type

string

Request content type (This is not required to be set. Referenced only to show how we expect data to be sent). { "Content-Type": "application/json" }

x-biometrid-key

string

Application Client Key

x-biometrid-secret

string

Application Client Secret

Request Body

Name
Type
Description

type

string

Possible values: pooling, regular. Default: regular synchronous process. See Pooling specific request.

doctype

string

Required if document type different than idcard. Possible values: idcard, passport. If not present, by default, the system will expect idcard evaluation

front

string

Image (base64 string) representation of the document's front side for biometric analysis. Max size: 1MB

back

string

Image (base64 string) representation of the document's back side for biometric analysis. Max size: 1MB

processId

string

Optional process id. Setup a specific process id.

Last updated

Was this helpful?