Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer YOUR_JWT_TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | JWT Bearer token for authentication (Format: Bearer YOUR_JWT_TOKEN) |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| license_number | String | Yes | The drug license number to search (e.g., "MYB1234") |
| district | String | Yes | The district code where the license is registered (e.g., "bangalore_1_adc1") |
| license_type | String | Yes | Type of drug license to search. Valid values: "wholesale", "retail", "manufacturing" |
{
"license_number": "MYB1234",
"district": "bangalore_1_adc1",
"license_type": "wholesale"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Container object for response data |
| data.client_id | String | Unique identifier for the API request transaction |
| data.license_number | String | The searched drug license number |
| data.district | String | The district code for the license |
| data.license_type | String | Type of drug license (wholesale/retail/manufacturing) |
| data.license_details | Array | Array of license detail objects |
| data.license_details[].firm_number | String | Unique firm registration number |
| data.license_details[].firm_name | String | Registered name of the pharmaceutical firm |
| data.license_details[].address | String | Complete registered address of the firm |
| data.license_details[].firm_incharge | String | Name of the person in charge of the firm |
| data.license_details[].validity | String | License validity date (Format: YYYY-MM-DD) |
| data.license_details[].other_license_number | Array | List of other associated license numbers held by the firm |
| status_code | Integer | HTTP status code of the response |
| success | Boolean | Indicates whether the request was successful |
| message | String | Human-readable response message |
| message_code | String | Machine-readable response code |
{
"data": {
"client_id": "karnataka_drug_license_search_qiLpzRxrevGTgabMzHPV",
"license_number": "MYB1234",
"district": "bangalore_1_adc1",
"license_type": "wholesale",
"license_details": [
{
"firm_number": "00000",
"firm_name": "Sample Medical Store",
"address": "123 Sample St, City, State, 000000",
"firm_incharge": "John Doe",
"validity": "2025-12-31",
"other_license_number": [
"DUMMY1234",
"DUMMY5678",
"DUMMY9101",
"DUMMY1122"
]
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 404,
"success": false,
"message": "License not found",
"message_code": "license_not_found"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/corporate/karnataka-drug-license-search' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"license_number": "MYB1234",
"district": "bangalore_1_adc1",
"license_type": "wholesale"
}'{
"data": {
"client_id": "karnataka_drug_license_search_qiLpzRxrevGTgabMzHPV",
"license_number": "MYB1234",
"district": "bangalore_1_adc1",
"license_type": "wholesale",
"license_details": [
{
"firm_number": "00000",
"firm_name": "Sample Medical Store",
"address": "123 Sample St, City, State, 000000",
"firm_incharge": "John Doe",
"validity": "2025-12-31",
"other_license_number": [
"DUMMY1234",
"DUMMY5678",
"DUMMY9101",
"DUMMY1122"
]
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}