The businesses need to enter either base 64 or the URL of the PAN front image. The businesses can configure these checks with our PAN OCR Verification journey.

Journey Input Data

{
    "front_url": "<Image URL>"
    "front_base64":"<Base 64>"
}

Journey Output Data

{
  "transaction_id": "",
  "journey_transaction_id": "",
  "journey_id": "",
  "status": "SUCCESS|FAILURE|IN_PROGRESS",
  "status_code": "Refer to the table below",
  "message": "Refer to the table below",
  "decision": "CLEAR|MUST REVIEW|NEEDS REVIEW",
  "checks": [],
  "data": {
    "keys": {
      "pan": [
        {
          "pan_no": "XXXX",
          "name": "XXXX XXX",
          "dob": "18/05/1992",
          "fathers_name": "",
          "user_pan_image": "<Image link>|base64",
          "source": "OCR",
          "issuer": "ITR",
          "decision": "CLEAR|MUST REVIEW|NEEDS REVIEW",
          "checks": []
        }
      ]
    }
  }
}

📘

  1. *Size of the image should be less than 2 MB.
  2. *The supported formats for OCR input are JPG, JPEG and PNG.

📘

These journeys do not include any pre-configured Ownership or Fraud Checks. To add these checks, please contact your Account Manager.

Status Codes

ScenarioHttp Status Codestatusstatus_codemessage
When request is successful and PAN details are available.200SUCCESSsuccessRequest successful
When pan_no provided is not a valid PAN format200FAILUREinvalid_pan_nopan_no is Invalid
Invalid image200FAILUREinvalid_inputInvalid Image, please upload a valid image
When no details found at Source for given PAN Number/ PAN Image200FAILUREdocument_not_foundEntity not found
When Input doesn't contain the pan_no field.400FAILUREinvalid_requestpan_no is required
Invalid Client Credentials401FAILUREinvalid_credentialsInvalid Client Credentials
Any unhandled error from Equal end500FAILUREinternal_server_errorSomething went wrong, please try again.
Too many requests429No object will be sent, throttling happens at the gateway level.
Service Unavailable503
Both formats(Base 64 and URL) are entered400FAILUREinvalid_requestEnter only one Base 64 or URL
None of the inputs (Base 64 or URL) provided400FAILUREinvalid_requestOne of the inputs Base 64 or URL is required
Unsupported media types400FAILUREinvalid_requestInvalid file type, only PNG, JPG, and JPEG files are allowed
Image too large400FAILUREinvalid_requestFile size exceeds the maximum limit of 2MB
Invalid Base 64400FAILUREinvalid_requestInvalid base64 content
Invalid URL400FAILUREinvalid_requestInvalid URL

Status (Journey Status)

Possible ValuesDescription
SUCCESSShows that the verification process was completed successfully.
FAILUREIndicates that the verification process did not succeed.
IN_PROGRESSSignifies that the verification process is currently underway and has not yet been completed.

Decision

Possible ValuesDescription
CLEARIndicates that the verification has been completed and the information is confirmed as accurate and legitimate.
MUST REVIEWSignifies that further review is needed due to potential issues or inconsistencies in the verification results.
NEEDS REVIEWSuggests that the verification has identified areas that require further investigation or clarification before a final determination can be made.

📘

Journey ID will be shared as part of Onboarding

Key Descriptions

KeyDescription
transaction_idUnique identifier for the transaction.
journey_transaction_idUnique identifier for the journey transaction.
journey_idUnique identifier for the journey.
statusCurrent status of the transaction. Possible values: SUCCESS, FAILURE, IN_PROGRESS.
status_codeCode representing the specific status of the transaction. Refer to the documentation for possible values.
messageDetailed message about the transaction status. Refer to the documentation for specific messages.
decisionFinal decision based on all checks. Possible values: CLEAR, MUST REVIEW, NEEDS REVIEW.
checksList of checks performed during the transaction.
dataContainer for additional data related to the transaction.
panList of PAN-related data points.
pan_noPAN number of the holder.
nameName of the PAN holder.
dobDate of birth of the PAN holder.
fathers_nameFather's name of the PAN holder, if available.
user_pan_imageImage of the PAN card, either as a link or in base64 format.
sourceSource from which the data was extracted (e.g., OCR).
issuerIssuer of the PAN (e.g., ITR).
decision (key)Decision for this specific key. Possible values: CLEAR, MUST REVIEW, NEEDS REVIEW.
checks (key)List of checks performed on this specific key.
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!