v1

latestOpenAPI 3.0.32026-07-14108241269.2 KB
PAN OCR v2

PAN OCR v2

Extracts structured PAN card details (PAN number, name, father's name, date of birth) 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/pan_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