PAN Verification via OCR

Use this PAN Verification via OCR API to verify and validate the PAN information quickly. Provide the front image of PAN and a verification ID. 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 CodeStatusMessageNext Action
200SUCCESSPAN card is valid-
200SUCCESSPAN card is InvalidUpload a valid PAN card copy.
400ERRORFile size exceeded 10MB limitThe max file size of the file is 10MB.
400ERRORplease upload the file of valid format(jpeg/jpg/png)Allowed file type - JPEG/JPG/PNG.
400ERRORverification_id is missing in the request.Enter a unique verification ID in the request.
400ERRORFront Image File is missingUpload the copy of the PAN card in the front_image parameter.
400ERRORverification_id can include a maximum of 50 characters.The maximum character limit is 50.
400ERRORverification_id can include only alphanum, dot, hyphen and underscores.Only alphanumeric, period (.), hyphen (-), and underscore (   ) are allowed.
400ERRORClient secret belongs to test environmentEnter the correct environment credentials in the request.
400ERRORx-client-id is missing in the requestEnter all the header information in the API request.
401ERRORInvalid clientId and clientSecret combinationEnter valid client ID and secret key in the request.
403ERRORIP not whitelisted your current ip is IP whitelisting assistance, visit our guide at the IP address.
422ERRORInsufficient balance to process this request.Ensure you have sufficient balance and then process the request.
500ERRORUnable to validate, please retry laterTry again after some time.
Click Try It! to start a request and see the response here!