Validate Document
This endpoint allows the OCR validation process on the document sent on the request.
To perform a document validation, the method to be used is Validate Document. The request to this method requires the upload two photos (front & back of the document).
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
POST
Https://api.biometrid.com/api/1.1/document/validate
Validate document process
Headers
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": "multipart/form-data" }
x-biometrid-key
string
Application Client Key
x-biometrid-secret
string
Application Client Secret
Request Body
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
object
Image file containing document's front for biometric analysis. File format: jpeg, png or jpg. Max size: 1MB
back
object
Image file containing document's front for biometric analysis. File format: jpeg, png or jpg. Max size: 1MB
Last updated
Was this helpful?