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 |
---|---|---|---|
client_id | String | Yes | Unique identifier of the client whose profile details are being requested |
Parameter | Type | Description |
---|---|---|
data | Object | Contains the profile details |
data.profile_details | Object | Contains address, PAN, contact, jurisdiction, and Aadhaar information |
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 indicating the response status |
Parameter | Type | Description |
---|---|---|
country | String | Country name as per ITR address details |
door_number | String | House number as per ITR address details |
street | String | Street name as per ITR address details |
pin_code | Integer | Pincode number as per ITR address details |
zip_code | Integer | Zipcode number as per ITR address details (may be null) |
locality | String | Local area name as per ITR address details |
post_office | String | Post office as per ITR address details |
city | String | City name as per ITR address |
state | String | State name as per ITR address details |
Parameter | Type | Description |
---|---|---|
pan | String | PAN number as per ITR PAN details |
name | String | Name as per ITR PAN details |
dob | Object | Date of birth with format: {"date": "YYYY-MM-DD"} |
gender | String | Gender as per ITR PAN details |
category | String | PAN category as per ITR PAN details |
address | String | Address as per ITR PAN details |
status | String | PAN number status as per ITR PAN details |
indian_citizen | String | Indian citizenship check (Yes or No) as per ITR PAN details |
Parameter | Type | Description |
---|---|---|
resident | Boolean | Check residential status |
non_resident | Boolean | Check non-residential status |
primary_mobile | String | Primary mobile number as per ITR contact details |
primary_mobile_belongs_to | String | Primary mobile number belongs to as per ITR contact details |
primary_email | String | Primary email ID as per ITR contact details |
primary_email_belongs_to | String | Primary email ID belongs to as per ITR contact details |
secondary_mobile | String | Secondary mobile number as per ITR contact details |
secondary_mobile_belongs_to | String | Secondary mobile number belongs to as per ITR contact details |
secondary_email | String | Secondary email ID as per ITR contact details |
secondary_email_belongs_to | String | Secondary email ID belongs to as per ITR contact details |
Parameter | Type | Description |
---|---|---|
area_code | String | Area code as per jurisdiction details |
ao_type | String | AO type as per jurisdiction details |
range_code | String | Range code as per jurisdiction details |
ao_number | String | AO number as per jurisdiction details |
jurisdiction | String | Jurisdiction area as per jurisdiction details |
building_name | String | Building name as per jurisdiction details |
email_id | String | Jurisdiction office email ID as per jurisdiction details |
ao_building_id | String | AO building ID as per jurisdiction details |
Parameter | Type | Description |
---|---|---|
aadhaar_number | String | Aadhaar number as per Aadhaar details |
aadhaar_status | String | Aadhaar status as per Aadhaar details |
{
"data": {
"profile_details": {
"address": {
"country": "INDIA",
"door_number": "21/H",
"street": "GORA ROAD",
"pin_code": 700010,
"zip_code": null,
"locality": "Kolkata",
"post_office": "Intally S.O",
"city": "MAHWA",
"state": ""
},
"pan": {
"pan": "AAPPL2222A",
"name": "SURBHI",
"dob": {
"date": "1989-07-11"
},
"gender": "M",
"category": "Individual",
"address": "21/H, None, GORA ROAD, None, MAHWA, 700010",
"status": "Active",
"indian_citizen": "Yes"
},
"contact": {
"resident": true,
"non_resident": false,
"primary_mobile": "9873672577",
"primary_mobile_belongs_to": "Self",
"primary_email": "surbhia@gmail.com",
"primary_email_belongs_to": "Self",
"secondary_mobile": "",
"secondary_mobile_belongs_to": "",
"secondary_email": "",
"secondary_email_belongs_to": ""
},
"jurisdiction": {
"area_code": "WG",
"ao_type": "W",
"range_code": "32",
"ao_number": "9",
"jurisdiction": "WARD 33(2)",
"building_name": "10, MIDDLETON",
"email_id": "MAHWA.ITO33.2@INCOMETAX.GOV.IN",
"ao_building_id": "CL04"
},
"aadhaar": {
"aadhaar_number": "",
"aadhaar_status": "Linked"
}
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid client_id provided",
"message_code": "invalid_client_id"
}
curl --location --request GET 'https://kyc-api.surepass.app/api/v1/itr/get-profile/'
{
"data": {
"profile_details": {
"address": {
"country": "INDIA",
"door_number": "21/H",
"street": "GORA ROAD",
"pin_code": 700010,
"zip_code": null,
"locality": "Kolkata",
"post_office": "Intally S.O",
"city": "MAHWA",
"state": ""
},
"pan": {
"pan": "AAPPL2222A",
"name": "SURBHI",
"dob": {
"date": "1989-07-11"
},
"gender": "M",
"category": "Individual",
"address": "21/H, None, GORA ROAD, None, MAHWA, 700010",
"status": "Active",
"indian_citizen": "Yes"
},
"contact": {
"resident": true,
"non_resident": false,
"primary_mobile": "9873672577",
"primary_mobile_belongs_to": "Self",
"primary_email": "surbhia@gmail.com",
"primary_email_belongs_to": "Self",
"secondary_mobile": "",
"secondary_mobile_belongs_to": "",
"secondary_email": "",
"secondary_email_belongs_to": ""
},
"jurisdiction": {
"area_code": "WG",
"ao_type": "W",
"range_code": "32",
"ao_number": "9",
"jurisdiction": "WARD 33(2)",
"building_name": "10, MIDDLETON",
"email_id": "MAHWA.ITO33.2@INCOMETAX.GOV.IN",
"ao_building_id": "CL04"
},
"aadhaar": {
"aadhaar_number": "",
"aadhaar_status": "Linked"
}
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}