v1

latestOpenAPI 3.0.32026-07-14108241269.2 KB
Driving Licence OCR v2

Driving Licence OCR v2

Extracts structured driving licence details (licence number, name, relative's name, dates, blood group, address) from an uploaded image or PDF using OCR, via the customer's configured v2 verification setup.

Response contract: A successful extraction returns HTTP 200 with status: "success", error_code: null, and a populated data object. A valid upload with nothing readable also returns HTTP 200, but with status: "failed", a non-null error_code (IDTO_202), and data: null — do not treat HTTP 200 alone as success; always branch on status and inspect error_code. An unreadable or oversized image returns HTTP 413 (IDTO_503). Authenticate with your X-Client-ID and X-API-KEY headers.

post/v2/verify/dl_ocr

Response

OCR completed. Inspect status and error_code for the business result.

statusstring required
messagestring nullable
error_codestring nullable
tranx_idstring nullable
timestampstring nullable