1. Home
  2. APIs
  3. Identity

PAN verification API

Confirm a PAN is valid and get the name on it.

Mode: Instant
Checked against: Income Tax Department records

Overview

Send a 10-character PAN and get back its status and the registered name, so you can match it against what the customer typed. Use the name-match score to auto-approve clean matches and send only doubtful ones to manual review.

POST/v1/verify/pan

Where it’s used

  • Loan and credit card applications
  • Vendor and seller onboarding
  • Investment and trading accounts
  • Payroll and TDS records

How the check runs

  1. Your server sends the PAN (and optionally the name the customer typed) with a consent flag.
  2. We validate the format locally first: five letters, four digits, one letter. Bad formats are rejected instantly and not billed.
  3. The PAN is checked against Income Tax Department records and the registered name, status and category come back.
  4. If you sent a name, our matching engine scores it against the registered name, handling initials, order and spelling variants.
  5. You get one response with the status, the details and the match score. Typical time is 300–800 ms.

Request

FieldDescription
panPAN number, e.g. ABCPV1234K
nameOptional. Name to compare against
consent"Y" once your user has agreed to the check. Required for any check on a person.
curl -X POST https://api.yetlix.com/v1/verify/pan \
  -H "x-client-id: $YETLIX_CLIENT_ID" \
  -H "x-client-secret: $YETLIX_CLIENT_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"pan":"ABCPV1234K","name":"Rohit Verma","consent":"Y"}'

Response fields

Inside the data object. The envelope (status, request_id, billable, timestamp) is the same for every API and is described in the docs.

FieldTypeMeaning
panstringThe PAN you sent, upper-cased.
pan_statusenumVALID, INVALID, DEACTIVATED, DELETED or FAKE. Only VALID should pass onboarding.
full_namestringName as registered with the Income Tax Department, in capitals.
categorystringHolder type from the 4th character: Individual (P), Company (C), Firm (F), HUF (H), Trust (T), AOP, BOI, Government, etc.
aadhaar_seededbooleantrue if the PAN is linked to an Aadhaar. An unlinked individual PAN may be inoperative.
name_match.scoreinteger0–100 similarity between the name you sent and the registered name. Only present if you sent a name.
name_match.resultenumMATCH (score ≥ 80), PARTIAL (60–79) or NO_MATCH (< 60). Thresholds are adjustable per account.

Outcomes and what to do

Every check can end in a handful of ways. Decide up front what your product does in each case, so nothing falls through to a support ticket.

VALID + MATCH

The PAN exists and belongs to the person you expected.

Do this: Approve automatically.

VALID + PARTIAL

The PAN is real but the name differs, often initials or a missing surname.

Do this: Show the registered name to the user to confirm, or send to manual review.

VALID + NO_MATCH

Real PAN, different person.

Do this: Reject or ask for a different document. A common sign of borrowed identity.

INVALID

No such PAN exists.

Do this: Ask the user to re-enter. After two failures, block and review.

DEACTIVATED / DELETED

The PAN was surrendered, merged or cancelled.

Do this: Ask for the person’s current PAN.

Sandbox test values

Send these values in pan with your sandbox key to get each result. Anything else returns INVALID_INPUT in sandbox.

ValueReturns
ABCPV1234KValid, name matches
ABCPV1234LValid, name does not match
ABCPV0000XInvalid PAN
ABCPV9999DDeactivated PAN

Run these in the playground

Best practices

  • Always send the name. A valid PAN on its own only proves the number exists, not that it belongs to your user.
  • Validate the format on your front end with /^[A-Z]{5}[0-9]{4}[A-Z]$/ so typos never reach the API.
  • For individual PANs, also check aadhaar_seeded. An unlinked PAN can’t be used for most financial purposes.
  • Store the request_id against the user record. It’s your proof of when and how the PAN was verified.

Compliance note. PAN is a mandatory document for many financial transactions under the Income Tax Rules and is widely used as the identity document in RBI, SEBI and IRDAI KYC. Collect the user’s consent before the check and keep the request ID for your audit trail.

Frequently asked

Does it return date of birth or father’s name?

The basic check returns the registered name, status and category. Date-of-birth match is available on request for regulated entities, depending on the use case.

Can I verify a company PAN?

Yes. Company, firm, trust and HUF PANs work the same way; category tells you the holder type, and full_name is the entity name.

Is a failed format check billed?

No. If the PAN is not in a valid format we reject it with INVALID_INPUT before calling any source.

Often used with