post https://api.sandbox.co.in/kyc/pan
API to verify PAN for comprehensive taxpayer KYC
Important Links
Request Body Example
{
"pan": "XXXPX1234A",
"consent": "Y",
"reason": "Testing"
}
Testing Data
PAN | Consent | Reason | Response | Remark |
---|---|---|---|---|
XXXPX1234A | Y | Testing | 200 | Valid PAN (Individual) |
XXXPX1234H | Y | Testing | 200 | Valid PAN (Individual) |
XXXPX1234O | Y | Testing | 200 | Valid PAN (Individual) |
XXXPX1234P | Y | Testing | 200 | Valid PAN (Individual) |
XXXCX1234B | Y | Testing | 200 | Valid PAN (Company) |
XXXFX1234J | Y | Testing | 200 | Invalid PAN |
XXXPX1234C | Y | Testing | 403 | Insufficient Privilege |
XXXPX1234D | Y | Testing | 403 | Insufficient Credits |
XXXPX123EE | Y | Testing | 422 | Invalid PAN Pattern |
XXXPX1234K | N | Testing | 422 | Consent Required |
XXXPX1234F | Y | Testing | 500 | Internal Server Error |
XXXPX1234G | Y | Testing | 503 | Service 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 |