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 |
---|---|---|---|
tan_number | String | Yes | Tax Deduction and Collection Account Number (e.g., "DELS01235E") |
pan_number | String | Yes | Permanent Account Number (e.g., "DQABC1234F") |
year | String | Yes | Financial year for which the return is filed (e.g., "2020") |
quarter | String | Yes | Quarter for which the return is filed (e.g., "Q1", "Q2", "Q3", "Q4") |
type_of_return | String | Yes | Type of return filed (e.g., "salary") |
{
"tan_number": "DELS01235E",
"pan_number": "DQABC1234F",
"year": "2020",
"quarter": "Q4",
"type_of_return": "salary"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the client |
data.tan_number | String | Tax Deduction and Collection Account Number |
data.pan_number | String | Permanent Account Number |
data.year | String | Year for which the return is filed |
data.type_of_return | String | Type of return (e.g., salary) |
data.quarters | Array | List of quarters for which the return is filed |
data.results | Array | List of results for the specified quarters |
data.results[].quarter | String | Quarter for the result |
data.results[].type_of_return | String | Type of return for the result |
data.results[].count_of_records | Integer | Number of records for the result |
data.results[].remarks | String | Remarks regarding the TDS |
data.results[].details_viewed_on | String | Date and time when the details were viewed |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Response message |
message_code | String | Code representing the response message |
{
"data": {
"client_id": "tax_payer_view_vqBUDDdPChllpgjhbbwc",
"tan_number": "DELS01235E",
"pan_number": "DQABC1234F",
"year": "2020",
"type_of_return": "salary",
"quarters": [
"Q4"
],
"results": [
{
"quarter": "Q4",
"type_of_return": "Salary",
"count_of_records": 1,
"remarks": "Quarterly statement filed",
"details_viewed_on": "2024-03-15T15:41:00"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid TAN or PAN number format",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/tan/tds-check' \
--header 'Content-Type: application/json' \
--data-raw '{
"tan_number": "DELS01235E",
"pan_number": "DQABC1234F",
"year": "2020",
"quarter": "Q4",
"type_of_return": "salary"
}'
{
"data": {
"client_id": "tax_payer_view_vqBUDDdPChllpgjhbbwc",
"tan_number": "DELS01235E",
"pan_number": "DQABC1234F",
"year": "2020",
"type_of_return": "salary",
"quarters": [
"Q4"
],
"results": [
{
"quarter": "Q4",
"type_of_return": "Salary",
"count_of_records": 1,
"remarks": "Quarterly statement filed",
"details_viewed_on": "2024-03-15T15:41:00"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}