PAN TO MASK ADHAR
Base Endpoint URL
https://api.devilapi.online/service_api/v1/pan/pan_to_mask_uid.php
Parameters Payload
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | REQUIRED | enter_key |
| pan_no | string | REQUIRED | enter_pan_no |
PHP Integration Code
curl_request.php
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.devilapi.online/service_api/v1/pan/pan_to_mask_uid.php?api_key=&pan_no=', 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": "", "pan_no": "" } )); $response = curl_exec($curl); curl_close($curl); echo $response;
Example Response Payload
200 OK
{
"status": "success",
"message": "Pan To Mask Aadhaar Find",
"sms_sent": "true",
"Fee": 0,
"data": {
"pan_number": "************",
"mask_aadhaar": "**********",
"message": "PAN no CM**********M already linked against the UID 42XXXXXXXX48"
}
}
Bearer Token Authentication
All API requests require active authentication tokens sent inside HTTP Bearer headers.