Skip to main content
POST
Check a PAN, name and date of birth
Use PAN Lite when you already have the PAN, name and date of birth from your user and want to know they belong together. idto checks the PAN against Income Tax Department records and tells you whether the name and date of birth you sent match. You also get the PAN status code and whether an Aadhaar is linked to the PAN. PAN Lite needs all three of pan, name and dob. PAN Validation needs only the PAN and returns the name on record instead of a match result. Use PAN Validation to look up a name, PAN Lite to confirm the one you hold.

Environments

Request

A missing or empty pan returns IDTO_101. A missing or empty name or dob returns IDTO_102. A value that breaks a rule above returns IDTO_001. All three are HTTP 400, checked before any lookup, and not billed.

How to read the result

  • status is success for every completed check, found or not. Branch on error_code, never on status.
  • error_code: null with data present: the check completed. Read name_match, dob_match and pan_status.
  • error_code: "IDTO_202" with data: null: the PAN is not found. This is a definitive answer and is billed.
  • On rare occasions a check completes with no details: every data value is null and the message is PAN found, but no details were returned. It is billed.
  • billed is true on every completed check, including a name or date of birth mismatch and a PAN that is not found, and false on every error.

Response fields

pan, name and dob are returned as you sent them, after the clean-up described in Request. They are not the values on the PAN record. Any field the source does not return is null. Codes and values outside the lists on this page are returned as received.

PAN status codes

Every code except N is a completed check with error_code: null. All of them are billed.
Send an Idempotency-Key header (up to 255 characters) on every call. If a network error makes you retry with the same key and the same body, you get the first result back and are not charged again. See Idempotency.

Errors

Errors on this endpoint carry billed: false and no chargeble or user_consent keys, except the over-length Idempotency-Key error, which also carries both as "false". A missing or wrong X-Client-ID / X-API-Key pair returns 401 with a detail string and is not billed. The full code list is in v2 error codes.

Test scenarios

On v1

v1 also exposes POST /verify/pan_lite with the same request and the same data fields, plus data.verification_id, in the v1 envelope: a PAN that is not found returns status: "failed" with IDTO_202 and is billed. Use v2 for new work. See Migrate from v1. Was this page helpful? Email us at tech@idto.ai with the page link.

Authorizations

X-Client-ID
string
header
default:<client-id>
required

The Client ID shown on the API Credentials page of the idto dashboard. It is not your account or customer ID, which returns 401. Send it on every server-to-server request together with X-API-Key. Staging and production client IDs are different.

X-API-Key
string
header
default:<api-key>
required

Your API key from the idto dashboard (API credentials). Keep it on your server; never ship it in a browser or mobile app. Send it on every server-to-server request together with X-Client-ID.

Headers

Idempotency-Key
string

Make retries of this exact request safe. If the same key is replayed with an identical request body, the original result is returned without re-running the verification or billing again. If the same key is replayed with a different body, the request is rejected with IDTO_010 (422). Omitting this header runs every request as new.

Maximum string length: 255

Body

application/json
pan
string
required

Ten characters: five letters, four digits, one letter. Spaces and hyphens are removed and letters are upper-cased before the check. Missing or empty returns IDTO_101.

Pattern: ^[A-Z]{5}[0-9]{4}[A-Z]$
Example:

"ABCDE1234F"

name
string
required

Name to match against the PAN record. Letters, spaces and . - / & only, at most 100 characters after trimming and collapsing repeated spaces. Missing or empty returns IDTO_102.

Maximum string length: 100
Example:

"RAHUL SHARMA"

dob
string<date>
required

Date of birth to match, YYYY-MM-DD. Must be a real date and not in the future (India time). Missing or empty returns IDTO_102.

Example:

"1990-01-01"

user_id
string

Optional reference of your own for this end user.

Response

The check ran to completion. Billed. Branch on error_code: null with data present, or IDTO_202 with data: null when the PAN is not found.

status
enum<string>
required
Available options:
success
message
string
required

PAN verified successfully., PAN found, but no details were returned. when every data value is null, or Record is invalid or does not exist. on IDTO_202.

error_code
string | null
required

null on a completed check, IDTO_202 when the PAN is not found. Both are billed.

data
object | null
required

Every key is always present. A value the source did not return is null.

billed
enum<boolean>
required
Available options:
true
tranx_id
string | null
timestamp
string<date-time> | null
Last modified on December 4, 2026