Smart OCR to validate and extract all the relevant fields from a document.
Your unique client identifier issued by Cashfree. You can find this in your Merchant Dashboard.
The secret key associated with your client ID. Use this to authenticate your API requests. You can find this in your Merchant Dashboard.
Send the signature if two-factor authentication is selected as Public Key. More details
API version to be used. Format is in YYYY-MM-DD.
"2024-12-01"
Find the request parameters to perform Smart OCR verification.
It is the unique ID you create to identify the verification request. The maximum character limit is 50. Only alphaumeric, period (.), hyphen (-), and underscore ( _ ) are allowed.
"test_verification_id"
Tag depicts the document type of the file being shared in the request.
PAN, AADHAAR, DRIVING_LICENCE, VOTER_ID, PASSPORT, VEHICLE_RC, CANCELLED_CHEQUE, INVOICE "PAN"
Image of the document. Allowed file types: JPEG, JPG, PNG or PDF. The maximum size of an image and a PDF file is 5 MB and 1 MB, respectively. Conditionally required when file_url is missing. Use image file for better latency of the api.
"image"
Public URL of the image. Allowed only https URL. Allowed file types: JPEG, JPG, PNG or PDF. The maximum size of image and pdf file are 5 MB and 1 MB respectively. Conditionally required when the file is missing. Use image file link for better latency of the api.
"https://linkofFile"
When set to true, performs real-time verification of extracted document data against government databases. Adds a verification_details section to the response with validation results. Currently supports: PAN Card and Driving Licence verification.
true
Success response for retrieving the list of information associated with the mobile number.
It is the unique ID shared by the merchant for each request.
"test_verification_id"
It displays the unique ID created by Cashfree Payments for document OCR reference purposes.
1358
The field will show the document_type shared or predicted if it is not shared in the request.
"VOTED_ID"
Structure with all the relevant fields in the input image.
Contains all the quality checks the product performs on the given input image.
Note: This field can return true, false, or null.
It displays the personal information of the mobile number holder.
Note: This field can return true, false, or null.
It displays the details extracted from QR code present on the document.
Contains detailed verification information specific to the document type being verified.