This is the pre-configured journey a business could use to perform KYC OCR. The following documents could be digitised through this API.

  1. Aadhaar OCR
  2. PAN OCR
  3. Driving Licence OCR
  4. Voter ID OCR

Journey Input and Output

JourneysInputOutput
Aadhaar OCR Verification1. Aadhaar front image (Base 64 or URL)
2. Aadhaar back image (Base 64 or URL)
1. Aadhaar Number
2. Full Name as per Aadhaar
PAN OCR Verification1. PAN Front Image (Base 64 or URL)*1. PAN Number
2. Full Name as per PAN
3. D.O.B
4. Father’s Name
Driving Licence OCR Verification1. Driving Licence front image (Base 64 or URL)
2. Driving Licence back image (Base 64 or URL)
1. Full name as per driving licence
2. DL Number
3. D.O.B
4. Gender
5. Father’s Name
6. Permanent Address
7. Blood group
Voter ID OCR Verification1. Voter ID Front Image (Base 64 or URL)
2. Voter ID Back Image (Base 64 or URL)
1. Full Name
2. EPIC Number
3. D.O.B
4. Gender
5. Full Address
6. Age
7. Family Member Name
8. Family Member Relation

📘

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

The businesses can configure these checks with our Government ID OCR Verification journey. They need to pass the doc_type based on the document they need to verify.

Journey Input Data

{
    "journey_id": "kyc_ocr_dev_test_v1",
    "transaction_id": "",
    "input_data": {
        "doc_front_url":"",
        "doc_back_url":"",
        "doc_front_base64":"",
        "doc_back_base64":""
    }
}

AADHAAR

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",
  "checks": [],
  "data": {
    "keys": {
      "aadhaar": [
        {
          "aadhaar_no": "XXXX",
          "name": "XXXX XXX",
          "address": "XXXX XXXX XXXX XXXX",
          "gender": "XXXXX",
          "source": "nsdl",
          "issuer": "",
          "decision": "",
          "checks": []
        }
      ]
    }
  }
}

PAN

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": [
        {
          "father_name": "KIRTIKUMAR RAMESHCHANDRA GANDH",
          "dob": "20-11-2002",
          "pan_number": "DUCPG2368L",
          "date_of_issue": "",
          "name": "VATSAL KIRTIKUMAR GANDHI",
          "pan_type": "Individual",
          "issuer": "",
          "decision": "",
          "checks": []
        }
      ]
    }
  }
}

DRIVING LICENCE

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": {
      "dl": [
        {
          "expiry_date": "02/08/2037",
          "authorized_to_drive": [],
          "verification_type": "OCR",
          "transport_expiry_date": null,
          "dl_no": "TS01020170011169",
          "issuer_name": "Ministry of Road Transport and Highways",
          "dob": "27/05/1997",
          "name": "ANURADHA P",
          "issuer": "",
          "decision": "",
          "checks": []
        }
      ]
    }
  }
}

VOTER ID

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": {
      "voter_id": [
        {
          "gender": "Female",
          "epic_number": "JSF0039156",
          "address": "64 , RAHULANAGAR , KATAPUY VILLAGE KATAPUR RAHUL NAGAR TALUKA PAITHAN BAMICA ICICA DISTRICT AURANGABAD- 43 1440 HAER FIGUR STEERI 195- A",
          "dob": "",
          "name_of_relative": "Lakshmanarav Suryanarayan",
          "name": "Arunabai Lakshmanarav Suryanarayan",
          "address_pincode": "431140",
          "issuer": "",
          "decision": "",
          "checks": []
        }
      ]
    }
  }
}

📘

  1. *Size of the image should be less than 2 MB.
  2. *The supported formats for OCR input are JPG, JPEG and PNG.
  3. The format for base64 should be data:content/type;base64,<base64_encoded_data>

📘

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 details are available.200SUCCESSsuccessRequest successful
Invalid image200FAILUREinvalid_file_uploadedInvalid file. Please upload a PAN Card, Aadhaar Card, Driving License, or Voter ID
When no details found at Source for given PAN/Aadhaar/ Driving Licence/ Voter ID Image200FAILUREdocument_not_foundEntity not found
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.
panList of PAN-related data points.
pan_noPAN number for verification.
nameName associated with the PAN.
dobDate of birth associated with the PAN.
father's_nameFather's name associated with the PAN.
issuer_nameName of the entity that issued the document (e.g., UIDAI, IT department).
aadhaarList of Aadhaar-related data points.
aadhaar_noAadhaar number for verification.
addressAddress associated with the Aadhaar record.
dlList of driving license-related data points.
dl_noDriving license number for verification.
swdSpecially-abled status of the driving license holder (if applicable).
addressAddress of the driving license holder.
voter_idList of voter ID-related data points.
epic_numberVoter ID epic number for verification.
full_nameFull name of the voter.
ageAge of the voter.
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!