Aadhaar Offline e-KYC Generate OTP
POST {{sandbox_host}}/kyc/aadhaar/okyc/otp
Request Body
{"@entity"=>"in.co.sandbox.kyc.aadhaar.okyc.otp.request", "aadhaar_number"=>"{{aadhaar_number}}", "consent"=>"{{consent}}", "reason"=>"{{reason}}"}
HEADERS
| Key | Datatype | Required | Description |
| Authorization
| string | | JWT Authorization token |
| x-api-key
| string | | Public key required to authorize API access. |
| x-api-version
| string | | |
RESPONSES
status: OK
"{\n \"code\": 200,\n \"timestamp\": {{$timestamp}}000,\n \"transaction_id\": \"{{$randomUUID}}\",\n \"data\": {\n \"@entity\": \"in.co.sandbox.kyc.aadhaar.okyc.otp.response\",\n \"reference_id\": 78829,\n \"message\": \"Invalid Aadhaar Card\"\n }\n}"