Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for authentication (JWT format) |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| iec_number | String | Yes | The Import Export Code (IEC) number to be verified |
{
"iec_number": "123456789"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for the response data |
| data.client_id | String | Unique identifier for the client |
| data.iec_number | String | The IEC number that was verified |
| data.personal_details | Object | Container for personal details of the entity |
| data.personal_details.ie_code | String | Import Export Code of the entity |
| data.personal_details.name | String | Registered name of the firm/entity |
| data.personal_details.address | String | Registered address of the firm/entity |
| data.personal_details.iec_status | String | Current status of the IEC (e.g., "Valid") |
| data.personal_details.pan | String | PAN number of the firm/entity (partially masked) |
| data.bank_details | Object | Container for bank details (may be empty) |
| status_code | Number | HTTP status code of the response |
| success | Boolean | Indicates if the API call was successful |
| message | String | Human-readable status message |
| message_code | String | Machine-readable status code |
{
"data": {
"client_id": "iec_eXYgTyaifZoHqBhxhtbd",
"iec_number": "123456789",
"personal_details": {
"ie_code": "123456789",
"name": "Angel BizLink",
"address": "360002 ,Rajkot , RAJKOT ,GUJARAT,360002",
"iec_status": "Valid",
"pan": "XXXX1234X"
},
"bank_details": {}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 400,
"success": false,
"message": "Invalid IEC number provided",
"message_code": "invalid_iec"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/corporate/iec-details' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"iec_number": "123456789"
}'{
"data": {
"client_id": "iec_eXYgTyaifZoHqBhxhtbd",
"iec_number": "123456789",
"personal_details": {
"ie_code": "123456789",
"name": "Angel BizLink",
"address": "360002 ,Rajkot , RAJKOT ,GUJARAT,360002",
"iec_status": "Valid",
"pan": "XXXX1234X"
},
"bank_details": {}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}