While testing on Sandbox, you may use the following sample values—
Use ABCDE1234A for a valid PAN
Use ABCDE1234B for an invalid PAN, i.e, a PAN number has been found but is invalid. A PAN is considered invalid by NSDL for different reasons. For e.g, if it is a blacklisted one, or maybe because it is not linked to an Aadhaar card.
If you use any other values for
pan, you will get a 404 PAN not found error.