Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
Header | Required | Description |
---|---|---|
Authorization | Yes | Bearer token for authentication (JWT format) |
Content-Type | Yes | Application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | PAN number for which GST registrations need to be retrieved. Must be a valid 10-character PAN format. |
{
"id_number": "ABCCS1234R"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the response data |
data.pan_number | String | The PAN number that was queried |
data.client_id | String | Unique identifier for the API request |
data.gstin_list | Array | List of all GSTINs associated with the PAN |
data.gstin_list[].gstin | String | The 15-character GSTIN |
data.gstin_list[].state | String | Full name of the state where GSTIN is registered |
data.gstin_list[].state_code | String | Two-digit state code as per GST system |
data.gstin_list[].active_status | String | Current status of the GSTIN (Active/Inactive) |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the API call was successful |
message | String | Additional information (null if successful) |
message_code | String | Code indicating the status of the request |
{
"data": {
"pan_number": "ABCCS1234R",
"client_id": "gstin_pan_PGeGyeJfmPdttQkJMcBP",
"gstin_list": [
{
"gstin": "07ABCCS1234R2ZT",
"state": "Delhi",
"state_code": "07",
"active_status": "Active"
},
{
"gstin": "07ABCCS1234R2ZT",
"state": "Delhi",
"state_code": "07",
"active_status": "Inactive"
}
]
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"data": null,
"status_code": 400,
"success": false,
"message": "Invalid PAN format. PAN should be 10 characters with valid pattern.",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/corporate/gstin-by-pan' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "ABCCS1234R"
}'
{
"data": {
"pan_number": "ABCCS1234R",
"client_id": "gstin_pan_PGeGyeJfmPdttQkJMcBP",
"gstin_list": [
{
"gstin": "07ABCCS1234R2ZT",
"state": "Delhi",
"state_code": "07",
"active_status": "Active"
},
{
"gstin": "07ABCCS1234R2ZT",
"state": "Delhi",
"state_code": "07",
"active_status": "Inactive"
}
]
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}