post https://sandbox.cashfree.com/verification/pan
Use this API to verify if a given PAN exists. You will receive the name registered with the PAN and the PAN type (Individual or Business) in the response for a valid PAN. View the test data and use the information to trigger the validations. The test data are usable only in the test environments such as gamma and sandbox.
Response Codes
Sub Code | Status | Message | Next Action |
---|---|---|---|
200 | SUCCESS | VALID | - |
200 | SUCCESS | Invalid PAN | Enter a valid 10-character alphanumeric PAN identifier. |
400 | ERROR | Enter valid PAN. | Enter a valid 10-character alphanumeric PAN identifier in the correct format. |
400 | ERROR | pan is missing in the request. | Enter a valid 10-character alphanumeric PAN identifier in the request. |
400 | ERROR | x-client-id is missing in the request. | Enter all the header information in the API request. |
400 | ERROR | Client secret belongs to test environment | Enter the correct environment credentials in the request. |
401 | ERROR | Invalid clientId and clientSecret combination | Enter valid client ID and secret key in the request. |
403 | ERROR | IP not whitelisted your current ip is 106.51.91.104.For IP whitelisting assistance, visit our guide at https://docs.cashfree.com/docs/ip-whitelisting-verification | Whitelist the IP address. |
422 | ERROR | Insufficient balance to process this request. | Ensure you have sufficient balance and then process the request. |
500 | ERROR | something went wrong, please try after some time | Try again after some time. |
500 | ERROR | Unable to validate, please retry later | Try again after some time. |