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 |
Content-Type | Yes | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | String | Yes | Unique identifier of the client/query |
Parameter | Type | Required | Description |
---|---|---|---|
itr_id | Integer | Yes | Enter ITR Id to retrieve specific ITR details |
Parameter | Type | Description |
---|---|---|
gender | String | Gender as per ITR details |
name | String | Name as per ITR details |
fathers_name | String | Father's name as per ITR details |
String | Email as per ITR details | |
pincode | Integer | Pincode as per ITR details |
aadhaar_no | String | Aadhaar number as per ITR details |
mobile_no | String | Mobile number as per ITR details |
address | String | Address as per ITR details |
income | Object | Income details object (see below) |
gross_income | Integer | Gross income as per ITR details |
itr_type | String | ITR type as per ITR details (e.g., itr_3) |
dob | String | Date of birth as per ITR details (YYYY-MM-DD format) |
doi | String | DOI as per ITR details |
raw_itr | Object | Complete raw ITR data |
Parameter | Type | Description |
---|---|---|
total_income | Integer | Total income as per income details |
gross_income | Integer | Gross income as per income details |
company_name | String | Company name as per income details |
company_address | String | Company address as per income details |
{
"data": {
"gender": null,
"name": "SURBI",
"fathers_name": "SURENDRA",
"email": "surbhia@gmail.com",
"pincode": 700000,
"aadhaar_no": "12345352161",
"mobile_no": "9873612345",
"address": "21/, GORA ROAD, Intally S.O",
"income": {
"total_income": 2156580,
"gross_income": 2407081,
"company_name": "AGRO LIMITED",
"company_address": "34, D H, 700000, WEST"
},
"gross_income": 2407081,
"itr_type": "itr_3",
"dob": "1981-07-12",
"doi": null,
"raw_itr": {
"ITR": {
"ITR3": {
// Detailed ITR data structure
// (truncated for brevity)
}
}
}
},
"status_code": 200,
"message_code": "success",
"message": "Data extracted successfully",
"success": true
}
{
"status_code": 401,
"message_code": "unauthorized",
"message": "Invalid authentication token",
"success": false
}
curl --location -g --request GET 'https://kyc-api.surepass.app/api/v1/itr/get-itr-details/?itr_id={{itr_id0}}'
{ "data": { "gender": null, "name": "SURBI", "fathers_name": "SURENDRA", "email": "surbhia@gmail.com", "pincode": 700000, "aadhaar_no": "12345352161", "mobile_no": "9873612345", "address": "21/, GORA ROAD, Intally S.O", "income": { "total_income": 2156580, "gross_income": 2407081, "company_name": "AGRO LIMITED", "company_address": "34, D H, 700000, WEST" }, "gross_income": 2407081, "itr_type": "itr_3", "dob": "1981-07-12", "doi": null, "raw_itr": { "ITR": { "ITR3": { "CreationInfo": { "SWVersionNo": "R1", "SWCreatedBy": "SW1001234", "JSONCreatedBy": "SW1001453", "JSONCreationDate": "2022-12-14", "Digest": "efCuJcocAXign08h+NwX2gV/xPNLhc=", "IntermediaryCity": "Delhi" }, "Form_ITR3": { "FormName": "ITR-3", "Description": "Indls, HUFs having incom and gains of business", "AssessmentYear": "2022", "SchemaVer": "Ver1.0", "FormVer": "Ver1.0" }, "PartA_GEN1": { "PersonalInfo": { "AssesseeName": { "FirstName": "SURBI", "SurNameOrOrgName": "" }, "Address": { "ResidenceNo": "21/H", "ResidenceName": "GORA ROAD", "RoadOrStreet": "", "LocalityOrArea": "", "CityOrTownOrDistrict": "Intally S.O", "StateCode": "2", "CountryCode": "91", "PinCode": 700000, "CountryCodeMobile": 91, "MobileNo": 98736789456, "EmailAddress": "surbhi@.com" }, "PAN": "AAPPL2222A", "DOB": "1981-07-12", "Status": "I", "AadhaarCardNo": "7631234552161" }, "FilingStatus": { "CompDirectorPrvYr": { "CompDirectorPrvYrDtls": [ { "NameOfCompany": "GLOBAL PRIVATE LIMITED", "CompanyType": "D", "PAN": "AAPPL2222A", "SharesTypes": "U", "DIN": "08123610" } ] }, "ReturnFileSec": 12, "NewTaxRegime": "N", "OptingNewTaxRegime": 2, "SeventhProvisio139": "N", "DepAmtAggAmtExcd1CrPrYrFlg": "N", "IncrExpAggAmt2LkTrvFrgnCntryFlg": "N", "IncrExpAggAmt1LkElctrctyPrYrFlg": "N", "clauseiv7provisio139i": "N", "ResidentialStatus": "RES", "ConditionsResStatus": "1", "BenefitUs115HFlg": "N", "PortugeseCC5A": "N", "AsseseeRepFlg": "N", "CompDirectorPrvYrFlg": "Y", "PartnerInFirmFlg": "N", "HeldUnlistedEqShrPrYrFlg": "N", "NriSEPinIndia": "N", "ForeignExchangeFlag": "N" } }, "PartA_GEN2": { "AuditInfo": { "AuditDetails": [ { "OthAuditDtls": "N" } ], "AuditReportDetails": [ { "OtherITActFlag": "N" } ], "LiableSec44AAflg": "N", "IncDclrdUs": "N", "TotalSalesExcOneCr": "N", "LiableSec44ABflg": "N", "LiableSec92Eflg": "N",