get https://api.sandbox.co.in/pans//verify
API to verify PAN and receive publicly available information pertaining to the taxpayer
Important Links
Testing Data
PAN | Response | Remark |
---|---|---|
XXXPX1234A | 200 | Valid PAN (Individual) |
XXXCX1234B | 200 | Valid PAN (Company) |
XXXHX1234J | 200 | Invalid PAN |
XXXPX1234C | 403 | Insufficient Privilege |
XXXPX1234D | 403 | Insufficient Credits |
XXXPX123EE | 422 | Invalid PAN Pattern |
XXXPX1234H | 422 | Consent Required |
XXXPX1234F | 500 | Internal Server Error |
XXXPX1234G | 503 | Source Unavailable |
Please note that PAN other than the ones mentioned will result in an Invalid response when testing in Test Environment.
PAN Pattern Validation
Type | Regular Expression |
---|---|
PAN | [A-Z]{3}[PCFTGHLABJ]{1}[A-Z]{1}[0-9]{4}[A-Z]{1} |
Endpoints
Environment | Host URL |
---|---|
Test | https://test-api.sandbox.co.in |
Production | https://api.sandbox.co.in |