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 |
|---|---|---|---|
| hsn_descriptions | string | Yes | Natural language description of the product or service to search for (e.g., "car", "mobile phone", "consulting services") |
| category | string | Yes | Classification category for the search. Accepted values: "goods" for physical products or "services" for service-based offerings |
{
"hsn_descriptions": "car",
"category": "goods"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Container object holding the search results and metadata |
| data.client_id | string | Unique identifier for this search request, useful for tracking and debugging |
| data.input_hsn_descriptions | string | Echo of the search query that was submitted |
| data.hsn_list | array | Array of matching HSN codes with descriptions, ordered by relevance |
| data.hsn_list[].hsn_code | string | The HSN or SAC code (6 to 8 digits) |
| data.hsn_list[].description | string | Official description of the HSN/SAC code |
| status_code | integer | HTTP status code of the response (200 for success) |
| success | boolean | Indicates whether the API call was successful |
| message | string | Human-readable message describing the result |
| message_code | string | Machine-readable code for the message status |
{
"data": {
"client_id": "search_hsn_code_nLTykRWwzqnInsBxvXhn",
"input_hsn_descriptions": "car",
"hsn_list": [
{
"hsn_code": "87036030",
"description": "Motor cars"
},
{
"hsn_code": "950823",
"description": "DODGEEM CARS"
},
{
"hsn_code": "95082300",
"description": "DODGEEM CARS"
},
{
"hsn_code": "87032491",
"description": "MOTOR CARS"
},
{
"hsn_code": "87119010",
"description": "SIDE CARS"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"success": false,
"status_code": 401,
"message": "Unauthorized access. Invalid or missing Bearer token",
"message_code": "unauthorized"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/corporate/search-hsn-code' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"hsn_descriptions": "car",
"category": "goods"
}'{
"data": {
"client_id": "search_hsn_code_nLTykRWwzqnInsBxvXhn",
"input_hsn_descriptions": "car",
"hsn_list": [
{
"hsn_code": "87036030",
"description": "Motor cars"
},
{
"hsn_code": "950823",
"description": "DODGEEM CARS"
},
{
"hsn_code": "95082300",
"description": "DODGEEM CARS"
},
{
"hsn_code": "87032491",
"description": "MOTOR CARS"
},
{
"hsn_code": "87119010",
"description": "SIDE CARS"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}