Aadhaar Back Extraction


Request Method :: POST
Description: This API facilitates the extraction of the provided Aadhaar Back image. Extraction is initiated only if the request includes the appropriate Client Credentials in the headers, with corresponding privileges verified from the JWT.
The supported input formats for the Aadhaar Back image are as follows:
  1. JSON Format : The image is provided as a URL within a JSON payload.
  2. Base64 Format : The image is provided as a Base64-encoded string.
  3. File Format : The image is uploaded as a file using multipart form data.
Each format serves different use cases, enabling flexibility for integration with various systems. The API ensures secure access by validating Client Credentials and corresponding privileges before proceeding with the extraction process.

Headers


Content-Type: application/JSON
client_id:  To be shared during integration by ISU Team
client_secret:  To be shared during integration by ISU Team

Request Body Parameters

Parameters Parameter description with validations and examples Data type Mandatory/Optional
image Aadhaar Back Image
Input key (JSON format with URL).
E.g. - "https://firebasestorage.googleapis.com/..."
String Mandatory

Sample Request Body


Response Body Parameters 

Parameters Parameter description with examples Data type
code Status of the performed action. String
data Description of the other items on the document.  
aadhaarNumber User’s Aadhaar Number. string
address User’s Address. String
city City to which the User belongs to. String
confidence Extraction Accuracy number
details This section contains different extracted labels in the documents and the accuracy with which the extraction process is done.  
aadhaarNumber Extracted Aadhaar Number Details  
confidence Accuracy of the extracted Aadhaar Number. number
isVerified Is Verified or not. boolean
text Extracted Aadhaar Number. String
address Extracted Address Details  
address Extracted Address string
confidence Accuracy of the extracted Address. number
district Name of the District. string
father Father's Name string
pincode PIN Code. string
state Name of the State. String
district Name of the District. String
father Name of Father. String
idType ID Type. Will be "AADHAARBACK" in this case. string
og_add Date of Aadhaar Issue. string
pinCode PIN Code. string
state Name of the State. string
validate Validated or not. boolean
devMsg The developer message, after the operation. string
message Front-end message displayed after the operation. string
status Status of the operation.
0 denotes a Successful Request.
-1 denotes an Unsuccessful Request.
number

Sample Response Body


SUCCESS:

 

FAILED:

Segmentation Failed:

No Input Image:

Issue with Image Quality:

Classification Failed:

Status Codes and description

Status HTTP Code Description
0 200 Data retrieved successfully
-1 400 Please Try Again
-1 400 Invalid Request
-1 422 Valid AADHAARBACK Document Not Detected From Image (Issues with the image quality of valid AADHAARBACK documents).
-1 435 Aadhaar Bottom Back Document not in the correct format.