Process and verify identification documents by analyzing both front and back images, along with the issuing country and ID type
| Status Code | errorCode | Description | Detailed |
|---|---|---|---|
| 400 | 1001 | Workspace is unavailable | workspace is not currently operating |
| 400 | 1003 | Fail to process data | Server had problem in processing data please retry |
| 400 | 1005 | idImage is required | idImage is not entered |
| 400 | 1006 | issuingCountry is required | issuingCountry is missing |
| 400 | 1010 | callbackUrl is required | callbackUrl is missing |
| 400 | 1011 | Fail to recognize idCard | the idCard’s image is different from issuingCountry and idType |
| 400 | 1012 | Fail to recognize back of an idCard | the idCard’s image is different from issuingCountry and idType |
| 400 | 1013 | Invalid image format | the image is not in Base64 format |
| 400 | 1014 | idType is required | idType is missing |
| 400 | 1015 | invalid inputs : missing fields | field is missing |
Image of the front side of the ID document in base64 format. Base64 encoded characters in the payload must not include the MIME type. For example, if the encoded base64 characters are "image/png;base64,/9j/2wBDABQODxIP...", then remove "image/png;base64," and send only the encoded data "/9j/2wBDABQODxIP...".
"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg=="
The ISO 3 Alpha Country Code of the issuing country for the ID document.
"USA"
The type of the ID document
government_id, passport, drivers_license, residence_permit, vehicle_registration_certificate, visa, aadhaar, pancard "government_id"
Image of the back side of the ID document in base64 format.
"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg=="
The URL where the recognition results will be sent upon completion. If a callbackUrl is provided, the process works asynchronously. If no callbackUrl is provided, the process operates synchronously.
"https://your-domain.com/callback"