Verify Aadhaar
POST/verification/api/1.0/verifications/aadhaar
Verify Aadhaar
Request
- application/json
Body
aadhaarNumber string
ekycOtp string
refId string
digilocker boolean
uri string
token string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Aadhaar Send OTP - Step 1
- Aadhaar Verify OTP - Step 2
Schema
code integer
message string
data object
{
"code": 0,
"message": "string",
"data": {}
}
{
"code": 0,
"message": "Success",
"data": {
"ref_id": "9183621",
"message": "OTP sent successfully"
}
}
{
"code": 0,
"message": "Success",
"data": {
"code": 0,
"message": "Success",
"data": {
"invitationUrl": "https://trential.dev/url/8LuSTg8ZTlwH",
"attributes": [
{
"name": "Aadhaar ID",
"value": "732255662234"
},
{
"name": "Date of Birth",
"value": "30-11-1992"
},
{
"name": "Date of Birth Day",
"value": 30
},
{
"name": "Date of Birth Month",
"value": 11
},
{
"name": "Date of Birth Year",
"value": 1992
},
{
"name": "Gender",
"value": "Male"
},
{
"name": "Name",
"value": "Mahesh Kumar"
},
{
"name": "Care Of",
"value": "S/O Suresh Kumar"
},
{
"name": "Country",
"value": "India"
},
{
"name": "District",
"value": "Gurugram"
},
{
"name": "Locality",
"value": ""
},
{
"name": "Pin Code",
"value": "122002"
},
{
"name": "State",
"value": "Haryana"
},
{
"name": "Vtc",
"value": "Gurugram"
},
{
"name": "House",
"value": ""
},
{
"name": "Street",
"value": ""
},
{
"name": "Landmark",
"value": ""
},
{
"name": "Post Office",
"value": "Gurugram"
},
{
"name": "Sub-District",
"value": ""
},
{
"name": "Address",
"value": "Sector 43 Gurugram Haryana"
},
{
"name": "Photo",
"value": "Base-64 encoded image"
}
]
}
}
}
Loading...