ADHAR CARD VERIFY
Base Endpoint URL
https://api.devilapi.online/service_api/v1/adhar/uid_verify.php
Parameters Payload
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | REQUIRED | enter_key |
| captcha | string | REQUIRED | enter_captcha |
| captchaTxnId | string | REQUIRED | enter_captchaTxnId |
| uid | number | REQUIRED | enter_uid |
PHP Integration Code
curl_request.php
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.devilapi.online/service_api/v1/adhar/uid_verify.php?api_key=&captcha=&captchaTxnId=&uid=', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_POSTFIELDS => { "api_key": "", "captcha": "", "captchaTxnId": "", "uid": "" } )); $response = curl_exec($curl); curl_close($curl); echo $response;
Example Response Payload
200 OK
{
"success": true,
"message": "Adhar Verification Done",
"fee": 0,
"sms_sent": true,
"data": {
"uid": "************",
"status": "************",
"address": "**************",
"age": "****",
"gender": "*****",
"mobile": "**********",
"name": "*************",
"localName": "*************"
}
}
Bearer Token Authentication
All API requests require active authentication tokens sent inside HTTP Bearer headers.