AmpleTrails, Gurugram · since 2012 +91 93154 41053 WhatsApp info@ampletrails.com Developer guide · Guides
Products
Identity verificationBusiness verification (KYB)Bank, income & creditFace match & OCRVideo KYC, eSign & flowsCompliance & riskPayouts & messagingAll 52 APIs
Use cases
Customer onboarding (KYC)Merchant & seller onboarding (KYB)Vendor & supplier verificationEmployee background checksGig and field worker onboardingLoan underwritingPayout and refund validationDuplicate and synthetic identity detection
Industries
Fintech & Digital LendingBanks & NBFCsInsuranceBroking, Mutual Funds & WealthCrypto & VDA PlatformsReal-money GamingE-commerce & MarketplacesStaffing, Gig & HRTelecomMobility & LogisticsReal Estate & RentalsB2B & Procurement
Resources
GuidesGlossaryFAQSecurity & data
DevelopersPricingAbout
Theme
Get API keysCall +91 93154 41053
Guides·7 min read

How PAN verification through an API works, and how to use the result

A PAN check is usually the first call in any Indian onboarding flow, and it is easy to get wrong in the details. This guide covers what the check returns, how to handle name mismatches and inoperative PANs, and what you should keep on record.

Almost every onboarding flow we help set up starts with PAN. It is cheap, fast, issued to individuals and businesses alike, and tied to the Income Tax Department's records, so it works as an anchor for everything that comes after. The check itself is simple. Using the answer well takes a bit more thought.

Identity document · sample NameRAVI KUMAR NumberABCDE1234F Matches the record Name match96 / 100 PAN statusOperative Aadhaar linkLinked
A PAN check compares the details you collected with the Income Tax Department record. Sample data.

Reading a PAN before you call anything

A PAN has 10 characters in the pattern AAAAA9999A: five letters, four digits, one letter. You can reject a lot of bad input on your own form before spending money on an API call.

  • Characters 1 to 3 are an alphabetic series.
  • Character 4 tells you the holder type. This is the useful one.
  • Character 5 is the first letter of the surname (for individuals) or of the entity's name.
  • Characters 6 to 9 are a sequence number, and character 10 is a check letter.
4th characterHolder type
PIndividual
CCompany
HHindu Undivided Family (HUF)
FFirm or LLP
AAssociation of Persons
TTrust
BBody of Individuals
LLocal authority
JArtificial juridical person
GGovernment

If your product is only for individuals, a PAN with anything other than P in the fourth place should not reach the API. If you are onboarding merchants, a C or F PAN tells you to ask for company or firm documents next, not an Aadhaar.

What the check returns

A basic PAN verification call sends the PAN, plus the name (and sometimes date of birth) you collected, and tells you:

  • Whether the PAN exists and is valid in Income Tax Department records.
  • Whether the name you supplied matches the name on the PAN, usually with a match score.
  • The holder category (individual, company and so on).
  • Whether the PAN is linked to Aadhaar, which decides whether it is operative.

Sources have become stricter about returning full personal details, so treat "name matches" as the main output rather than expecting the full name back every time. If you need more, such as a masked Aadhaar or address where available, that is what PAN Comprehensive is for. We suggest using it only where you have a clear reason, for example when you need to pre-fill a long application form. For most payouts and simple KYC, the basic check is enough.

Name matching is where most problems start

The PAN record holds the name exactly as it was on the application, often years ago. What your user types today can differ for perfectly innocent reasons:

  • Initials: "R. Kumar" on the PAN, "Ravi Kumar" in your form, or the other way round.
  • Order: South Indian names often put the father's name or village initial first, so "S. Ravi Kumar" and "Ravi Kumar S" are the same person.
  • Spelling: "Mohd" and "Mohammed", "Laxmi" and "Lakshmi".
  • Marriage: a PAN applied for before marriage may still carry the maiden surname.

Don't use an exact string match. Use the match score and set two thresholds: above the higher one, accept automatically; below the lower one, reject or ask the user to correct the name; in between, send it to a person for review. Start conservatively and look at the review queue for a couple of weeks before you tighten or loosen the numbers. The right thresholds depend on your fraud risk, not on what looks neat.

Inoperative PANs and why ops teams care

PANs of individuals who were required to link Aadhaar and did not do so by the June 2023 deadline became inoperative. An inoperative PAN still "exists", so a naive check that only looks at validity will pass it. The consequences show up later:

  • TDS and TCS apply at the higher rates meant for deductees without a PAN.
  • Tax refunds to the holder are held back.
  • Some regulated onboarding flows will not accept it as a valid PAN.

If you pay commissions, rent, contractor fees or winnings, check the operative status with PAN-Aadhaar link status or the TDS compliance check before the first payment and again before the quarterly TDS return. A holder can make the PAN operative again by linking it (a late fee applies), so a failed check today is worth re-running later. We cover the tax side in more detail in our guide to inoperative PANs and TDS.

PAN is personal data under the DPDP Act, so the same basics apply as for any other check. Tell the user why you are checking their PAN, get their agreement before the call, and keep proof that you did.

After the check, store:

  • The PAN itself, if you need it for tax deduction or reporting. If you don't, store a reference and the outcome only.
  • The result (valid, name match score, operative status) and the request ID from the API response.
  • The time of the check and the consent record.

Don't keep screenshots of PAN cards that you never use, and don't paste PANs into support tickets or spreadsheets. Most leaks we hear about come from those side channels, not from the main database.

When PAN alone is not enough

PAN confirms that a tax identity exists and that the name fits. It does not prove the person in front of you owns it. For anything where impersonation matters, such as lending, wallets and gig payouts, pair it with something the person has to do themselves: a selfie matched against a document photo, a DigiLocker consent, or a penny drop to an account in the same name using bank account verification. For investors, add a KRA status check to see whether a fresh KYC is needed.

What we recommend

  • Validate the format and the fourth character on your own form first.
  • Use the basic PAN check by default and reach for PAN Comprehensive only when you need the extra fields.
  • Use a score-based name match with a manual review band, not exact matching.
  • Check the operative status before any payment that attracts TDS.
  • Store the outcome and request ID, not images you don't need.

If you are unsure which mix fits your flow, tell us what you are building and we will suggest the smallest set of checks that does the job. See also PAN in our glossary.

This guide is general information, not legal or tax advice. Rules change; check the current circulars or speak to your adviser before relying on it.

Questions

Can I verify a PAN without the holder's name?

Some sources accept the PAN alone and return validity and category, but name matching is the main protection against people using someone else's PAN. We recommend always sending the name the user entered.

Does a valid PAN mean it is operative?

No. A PAN can exist in the records and still be inoperative because it was not linked to Aadhaar. Check the link status separately if you deduct TDS or pay the holder.

How often should I re-check a PAN?

Once at onboarding is enough for most flows. If you make recurring payments that attract TDS, re-check the operative status before each quarterly return, because holders can link Aadhaar later and become operative again.

APIs mentioned

More guides

Want to try it on your own data?

Tell us which checks you need and roughly how many a month. We set up sandbox keys and send pricing, usually within a working day.