Aadhaar Masking API Documentation
Aadhaar Masking API Documentation
DOCUMENTATION
Copyright Notice:
The present document or drawing is property of Khosla Labs, and shall not, under any circumstances, be totally or partially,
directly or indirectly, transferred, reproduced, copied, disclosed or used, without its prior written consent, for any purpose
and in any way other than that for which it is specifically furnished or outside the extent of the agreed upon right of use.
INTRODUCTION:
The Aadhaar Masking solution has been developed by Khosla Labs and it can be consumed by partners to mask
their customer’s Aadhaar numbers.
API:
● AadhaarInfoExtract
AadhaarInfoExtract:
This API would allow the Partners to send the Aadhaar Front and Back image of the customer and receives a
Masked Aadhaar Image.
METHOD:
Method URL
POST https://sandbox.veri5digital.com/video-id-kyc/api/1.0/v4AadhaarInfoExtract
HEADERS:
REQUEST DATA:
PARAMETERS TYPE VALUE LENGTH M/NM
{
"headers": {
"client_code": "UNIQUE CODE ASSIGNED BY KL",
"sub_client_code": "UNIQUE CODE ASSIGNED BY KL",
"channel_code": "ANDROID_SDK",
"channel_version": "1.0.0",
"stan": "UNIQUE STAN FOR EACH REQ",
"client_ip": "CLIENT IP",
"transmission_datetime": "1637844654015",
"operation_mode": "SELF",
"run_mode": "TRIAL",
"actor_type": "OTHER",
"user_handle_type": "EMAIL",
"user_handle_value": "[email protected]",
"location": "NA",
"function_code": "DEFAULT",
"function_sub_code": "DEFAULT"
},
"request": {
"request_id": "7070701111134",
"hash": "894920c6c10b9167cb33eaaf65af0dfd9d7a5bad680932ab404acf04d9f5b844",
"api_key": "kjc6svt44",
"purpose": "testing in Khosla",
"document_type": "AADHAAR",
"document_side": "BOTH",
"extraction_type": "NO",
"mask_aadhaar": "YES",
"document_front_image": "BASE64 FRONT",
"document_back_image": "BASE64 BACK"
}
}
SAMPLE RESPONSE:
"response_data": {
"encrypted": "NO",
"document_data": "BASE64 OF MASKED DATA AND ORIGINAL DATA”
"hash": "01ab7947fb6f67af11b515a9e7961641971251bd6199d456716d0b45277a3bc0"
},
"response_status": {
"code": "000",
"message": "",
"status": "SUCCESS"
}