Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token in the format Bearer TOKEN |
| Content-Type | Yes | Must be application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| id_number | string | Yes | Darpan ID number to verify |
{
"id_number": "DL/2025/0000000"
}data.client_id, data.details[0].ngo_name):| Parameter | Type | Description |
|---|---|---|
| data | object | Contains the verification result and NGO details |
| data.client_id | string | Unique client reference for this verification request |
| data.id_number | string | Darpan ID number that was verified |
| data.details | array | List of NGO details matching the provided Darpan ID |
| data.details[].ngo_name | string | Name of the NGO |
| data.details[].ngo_type | string | Type of NGO (e.g., Trust, Society) |
| data.details[].registration_number | string | NGO registration number |
| data.details[].district_name | string | District where the NGO is registered |
| data.details[].state_name | string | State where the NGO is registered |
| data.details[].address | string | Registered address of the NGO |
| data.details[].pin_code | string | Postal code of the NGO |
| data.details[].sub_district | string | Sub-district of the NGO |
| data.details[].last_update_on | string | Last update date of the NGO record (YYYY-MM-DD) |
| data.details[].sectors | string | Sectors in which the NGO operates |
| data.details[].migrated | boolean | Indicates if the NGO record is migrated |
| data.details[].latitude | string | Latitude coordinate of the NGO address |
| data.details[].longitude | string | Longitude coordinate of the NGO address |
| status_code | integer | HTTP status code (e.g., 200 for success) |
| success | boolean | Indicates if the request was successful |
| message | string | Additional message (null if successful) |
| message_code | string | Status message code (e.g., "success") |
{
"data": {
"client_id": "darpan_id_verification_vhqfYQnjmrnjybnNlxNF",
"id_number": "DL/2025/0000000",
"details": [
{
"ngo_name": "SHRI GURU NANAK DEV WELFARE TRUST",
"ngo_type": "Trust",
"registration_number": "1234",
"district_name": "CENTRAL",
"state_name": "Punjab",
"address": "H.NO 101, GURU NAGAR, AMRITSAR",
"pin_code": "143001",
"sub_district": "Amritsar-1",
"last_update_on": "2025-06-15",
"sectors": "Health, Education, Women Empowerment, Environment",
"migrated": false,
"latitude": "31.6340",
"longitude": "74.8723"
}
]
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}{
"status_code": 401,
"success": false,
"message": "Invalid or missing authentication token.",
"message_code": "unauthorized"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/darpan/darpan-id-verification' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "DL/2025/0000000"
}'{
"data": {
"client_id": "darpan_id_verification_vhqfYQnjmrnjybnNlxNF",
"id_number": "DL/2025/0000000",
"details": [
{
"ngo_name": "SHRI GURU NANAK DEV WELFARE TRUST",
"ngo_type": "Trust",
"registration_number": "1234",
"district_name": "CENTRAL",
"state_name": "Punjab",
"address": "H.NO 101, GURU NAGAR, AMRITSAR",
"pin_code": "143001",
"sub_district": "Amritsar-1",
"last_update_on": "2025-06-15",
"sectors": "Health, Education, Women Empowerment, Environment",
"migrated": false,
"latitude": "31.6340",
"longitude": "74.8723"
}
]
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}