Pre-Verify Aadhaar (Digilocker)
POST/verification/api/1.0/verifications/pre-verify/aadhaar
Initiate a pre-verification process for Aadhaar using DigiLocker. Returns transaction ID and auth URL for user redirection.
Request
- application/json
 
Body
required
digiLocker booleanrequired
Set to true to use DigiLocker for verification
redirectUrl urirequired
URL to redirect the user after DigiLocker authentication
Responses
- 200
 - 422
 
OK
- application/json
 
- Schema
 - Example (from schema)
 
Schema
code integer
message string
data object
transactionId string
Unique identifier for the transaction
authUrl uri
URL for DigiLocker authentication
{
  "code": 0,
  "message": "Success",
  "data": {
    "transactionId": "XXXXXXXXXXXXXX",
    "authUrl": "https://digilocker-auth-url.example"
  }
}
Unprocessable Entity
- application/json
 
- Schema
 - Example (from schema)
 
Schema
message string
Error message indicating validation failure
{
  "message": "Invalid redirectUrl"
}
Loading...