Aadhaar Verification (Self)
POST/verification/api/1.0/verifications/self/aadhaar
Complete Aadhaar verification process using transaction ID from the pre-verification step. This endpoint retrieves verification results after DigiLocker authentication.
Request
- application/json
Body
required
digiLocker booleanrequired
Indicates whether DigiLocker service is being used for verification
transactionId uuidrequired
Unique transaction identifier obtained from the pre-verification step
Responses
- 200
- 400
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
data object
aadhaarId string
Masked Aadhaar number
dateOfBirth string
Date of birth
gender string
Gender
name string
First name from Aadhaar
lname string
Last name from Aadhaar
careOf string
Care of field from Aadhaar
country string
Country
district string
District
locality string
Locality
pinCode string
PIN code
state string
State
vtc string
Village/Town/City
house string
House number
street string
Street
address string
Complete address
photo string
Base64 encoded photo
{
"code": 0,
"message": "Success",
"data": {
"aadhaarId": "XXXXXXXXXXXX",
"dateOfBirth": "DD-MM-YYYY",
"gender": "Male/Female",
"name": "XXXXXXXXXXXX",
"lname": "XXXXXXXXXXXX",
"careOf": "XXXXXXXXXXXX",
"country": "India",
"district": "XXXX",
"locality": "XXXX 55",
"pinCode": "XXXXXX",
"state": "XXXXX",
"vtc": "XXXXXXX",
"house": "XXXX",
"street": "XXXXX",
"address": "Complete address",
"photo": "Base 64 encoded image"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
Error message
data object
{
"code": 1,
"message": "Invalid transaction ID",
"data": {}
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
Error message
data object
{
"code": 1,
"message": "Transaction not found or expired",
"data": {}
}
Loading...