| Header | Description |
|---|---|
myAppId | Application identifier used for Passport Verification service |
service-key | Unique service key provided for accessing the verification service |
Authorization | API authorization credentials for secure access |
providercode | Provider code assigned for Passport Verification service |
Content-Type | Specifies the request payload format (application/json) |
| Parameter | Type | Description |
|---|---|---|
documentType | String | Specifies the verification type (Passport Verification) |
name | String | Name of the passport holder for matching |
passportNo | String | Passport number to be verified |
fileNo | String | Passport application file number |
dob | String | Date of birth of the passport holder (DD/MM/YYYY) |
doi | String | Date of issue of the passport (DD/MM/YYYY) |
caseId | String | Unique identifier for tracking the verification request |
| Field | Description |
|---|---|
ok | Indicates whether the verification request was successful |
message | Status message returned by the API |
status | HTTP/API response status code |
result.request_id | Unique request identifier generated for the verification |
result.status_code | Verification status code returned by the provider |
result.name_from_passport | First name retrieved from the passport record |
result.surname_from_passport | Surname retrieved from the passport record |
result.name_match | Indicates whether the provided name matches the passport record |
result.name_score | Similarity score for the name comparison |
result.passport_number | Verified passport number |
result.passport_number_match | Indicates whether the supplied passport number matches official records |
result.date_of_issue | Date of issue available in the passport record |
result.date_of_issue_match | Indicates whether the supplied date of issue matches official records |
result.application_type | Type of passport application (Normal/Tatkal, etc.) |
result.application_date | Date on which the passport application was submitted |
error | Contains error information if the verification request fails |
curl --location 'https://api.staging.indiconnect.in/idverifygr/verification' \
--header 'myAppId: verification_v3_app' \
--header 'service-key: sk_test_bf78b31a4b9275ca' \
--header 'Authorization: x-api-access indc_test_8cdbb53b09f50c3c:ac_test_bd6e115254f11a58' \
--header 'providercode: LLOK77FI' \
--header 'Content-Type: application/json' \
--data '{
"query": "mutation { verify( input: { documentType: \"Passport Verification\" name: \"DENNIS SAGAYANATHAN\" passportNo: \"U4145018\" fileNo: \"PN1064796848020\" dob: \"07/06/2001\" doi: \"26/06/2020\" caseId: \"PASSPORT-UAT-001\" } ) { ok message status result { __typename ... on PassportVerificationResult { request_id status_code name_from_passport surname_from_passport name_match name_score passport_number passport_number_match date_of_issue date_of_issue_match application_type application_date } } error { message } }}"
}'{
"data": {
"verify": {
"ok": true,
"message": "Verification completed successfully",
"status": 200,
"result": {
"__typename": "PassportVerificationResult",
"request_id": "cc4a1cf9-14ec-4d4f-9308-bc013032c799",
"status_code": 101,
"name_from_passport": "DENNIS",
"surname_from_passport": "SAGAYANATHAN",
"name_match": true,
"name_score": 1,
"passport_number": "U4145018",
"passport_number_match": true,
"date_of_issue": "29/06/2020",
"date_of_issue_match": false,
"application_type": "Normal",
"application_date": "10/06/2020"
},
"error": null
}
}
}