Skip to content
FinHubBy HabileLabs

Document Intelligence

Turn a PAN card photo into verified, structured data in one API call.

api · POST /v1/kyc/verify
POST /v1/kyc/verify
Authorization: Bearer sk_live_••••
{ "pan": "XXXXX1234F", "consent_artifact": "ca_9f2c…" }

Overview

What the PAN OCR API does

The PAN OCR API reads PAN card images or PDFs and extracts the permanent account number, cardholder name and date of birth as clean, structured fields. Built-in structural and quality checks flag blurry, cropped or tampered uploads before they reach your KYC workflow, and every extraction is logged for audit.

Inputs

  • PAN card image (JPEG/PNG)
  • Scanned PDF upload
  • Front-side capture from mobile or web

Returns

  • PAN number
  • Cardholder name
  • Date of birth
  • Document quality score
  • Tamper/quality flags

POST /v1/ocr/pan

How it works

Three steps to a verified result

01

Upload the PAN image

Send a photo, scan or PDF of the PAN card to the OCR endpoint over a secure, encrypted channel.

02

Extraction and validation

The engine reads the PAN number, name and DOB, checks the card's structural layout, and flags quality or tamper signals.

03

Structured, audit-ready response

Fields are returned as JSON with a tamper-evident log entry, ready to feed your KYC or onboarding pipeline.

Use cases

Where teams use PAN OCR

  • Digital onboarding for lending and broking accounts
  • PAN capture during KYC re-verification
  • Reducing manual data entry in account opening forms
  • Cross-checking PAN details against verification APIs

FAQ

PAN OCR API — FAQs

Common questions about FinHub's PAN OCR API.

No. This API extracts fields from the document image only. Pair it with FinHub's PAN Verification API to confirm the number against official records.

Ready to add PAN OCR to your flow?

Book a demo and see the API return a verified result on your own test data in minutes.