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 | JWT Bearer token for authentication. Format: Bearer <your_token> |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | String | Yes | Unique identifier for this verification request. This ID helps track the verification process and retrieve results. |
{
"client_id": "TTJmMxbZQi"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains all extracted passport information |
data.doe | String | Date of expiry in YYYY-MM-DD format |
data.dob | String | Date of birth in YYYY-MM-DD format |
data.father | String | Father's name as listed in the passport |
data.given_name | String | First name of the passport holder |
data.mrz_line_1 | String | First line of the Machine Readable Zone |
data.old_passport_num | String | Previous passport number if available |
data.file_num | String | File number associated with the passport |
data.client_id | String | The client ID provided in the request |
data.place_of_issue | String | Location where the passport was issued |
data.spouse | String | Spouse's name if available |
data.country_code | String | Three-letter country code (e.g., "IND" for India) |
data.address | String | Address of the passport holder |
data.surname | String | Last name of the passport holder |
data.mrz_line_2 | String | Second line of the Machine Readable Zone |
data.passport_num | String | Current passport number |
data.doi | String | Date of issue in YYYY-MM-DD format |
data.old_doi | String | Date of issue of previous passport if available |
data.gender | String | Gender of the passport holder (e.g., "MALE", "FEMALE") |
data.nationality | String | Nationality of the passport holder |
data.place_of_birth | String | Place of birth of the passport holder |
data.mother | String | Mother's name as listed in the passport |
data.old_place_of_issue | String | Place where previous passport was issued |
data.pin | String | PIN code/postal code of the address |
status_code | Integer | HTTP status code indicating the result of the operation |
message | String | Additional information or error message |
success | Boolean | Indicates whether the verification was successful |
{
"data": {
"doe": "2020-09-15",
"dob": "1990-08-31",
"father": "KALEEN BHAIYA",
"given_name": "MUNNA BHAIYA",
"mrz_line_1": "PPINDBHAIYA<<MUNNA<<<<<<<<<<<<<<<<<<<<<<<<<<",
"old_passport_num": "F0233736",
"file_num": "UPHM00597710",
"client_id": "TTJmMxbZQi",
"place_of_issue": "MIRZAPUR",
"spouse": "",
"country_code": "IND",
"address": "TRIPATHI HAVELI, MIRZAPUR",
"surname": "BAGGA",
"mrz_line_2": "J0933933<1IND9008319M2009155<<<<<<<<<<<<<<04",
"passport_num": "J0933836",
"doi": "2010-10-15",
"old_doi": "2005-10-15",
"gender": "MALE",
"nationality": "INDIAN",
"place_of_birth": " MIRZAPUR",
"mother": "BEENA TRIPATHI",
"old_place_of_issue": "MIRZAPUR",
"pin": "231001"
},
"status_code": 200,
"message": "",
"success": true
}
{
"data": null,
"status_code": 401,
"message": "Invalid or expired authentication token",
"success": false
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/passport/passport/verify' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "{{client_id}}"
}'
{
"data": {
"doe": "2020-09-15",
"dob": "1990-08-31",
"father": "KALEEN BHAIYA",
"given_name": "MUNNA BHAIYA",
"mrz_line_1": "PPINDBHAIYA<<MUNNA<<<<<<<<<<<<<<<<<<<<<<<<<<",
"old_passport_num": "F0233736",
"file_num": "UPHM00597710",
"client_id": "TTJmMxbZQi",
"place_of_issue": "MIRZAPUR",
"spouse": "",
"country_code": "IND",
"address": "TRIPATHI HAVELI, MIRZAPUR",
"surname": "BAGGA",
"mrz_line_2": "J0933933<1IND9008319M2009155<<<<<<<<<<<<<<04",
"passport_num": "J0933836",
"doi": "2010-10-15",
"old_doi": "2005-10-15",
"gender": "MALE",
"nationality": "INDIAN",
"place_of_birth": " MIRZAPUR",
"mother": "BEENA TRIPATHI",
"old_place_of_issue": "MIRZAPUR",
"pin": "231001"
},
"status_code": 200,
"message": "",
"success": true
}