Verify Documents
Get Started > API User Guide > Verify Documents
Verify Documents
ClearDil offers an extensive array of out-of-the-box document verifications such as authenticity and integrity analysis for passports. Before you can verify a document, you need to create it using the Document API.
Create Document
Documents can be created for a given customer using the following cURL sample code:
Example request:
Example response:
Verify Document
Two verification types exist:
1. MRZ verification performs analysis checks on the Machine Readable Zone (MRZ) values specified by the user.
2. Image verification performs image, Optical Character Recognition (OCR), and MRZ analysis on the attachments associated with the supplied document.
If you would like to know more the underlying document checks performed by our API, head over to our API reference.
Example request:
Example response:
Test Data
Use the following sample documents to test the various API responses:
Document Type | Country | Front Side | Back Side |
---|---|---|---|
Resident Permit | UK | UK Resident Permit (Front Side) | UK Resident Permit (Back Side) |
Visa | UK | UK Visa | N/A |
National ID Card | France | France National ID (Front Side) | France National ID (Back Side) |
Driving Licence | France | France Driving Permit (Front Side) | France Driving Licence (Back Side) |
Passport | China | China Passport | N/A |
National ID Card | Poland | Poland National ID (Front Side) | Poland National ID (Back Side) |
Passport | Poland | Poland Passport | N/A |
National ID Card | Slovakia | Slovakia ID Card (Front Side) | Slovakia ID Card (Back Side) |