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 for API authentication (Format: Bearer <JWT_TOKEN>) |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| id_number | string | Yes | The 8-digit Director Identification Number (DIN) to be verified. Must be a valid DIN issued by the Ministry of Corporate Affairs (MCA) |
{
"id_number": "01234567"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Contains the verification results and director information |
| data.client_id | string | Unique identifier for this verification request |
| data.din_number | string | The verified Director Identification Number |
| data.full_name | string | Full name of the director as registered with MCA |
| data.pan_number | string | Permanent Account Number (PAN) associated with the DIN |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates whether the API request was successful |
| message | string/null | Additional information or error message (null on success) |
| message_code | string | Status code identifier (e.g., "success", "error") |
{
"data": {
"client_id": "din_to_pan_lasinNwYcudverjpVkfw",
"din_number": "08466726",
"full_name": "RAJKUMAR RAO",
"pan_number": "ABCPD1234F"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}{
"data": null,
"status_code": 401,
"success": false,
"message": "Unauthorized - Invalid or expired token",
"message_code": "authentication_failed"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/corporate/din-to-pan' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "01234567"
}'{
"data": {
"client_id": "din_to_pan_lasinNwYcudverjpVkfw",
"din_number": "01234567",
"full_name": "RAJKUMAR RAO",
"pan_number": "ABCPD1234F"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}