Search…
National ID Card Scan
This document explains how to enable National ID Scan in the verification flow and Passbase API

Overview

Increase your assurance during the identity verification process with a required National ID Card scan directly added to your workflow. Use the Passbase dashboard to add this Additional Check to your verification flow.

Enable National ID Card Scan

Within the customization additional checks page, you can enable the National ID Card Scan by dragging the National ID Card Scan tile to the Live Version section. Click the Publish Changes button when complete. Your users will now be prompted to scan the front and back of their National ID Card after scanning their Drivers License or Passport.

National ID Card Scan API Response

The National ID Card data for each Verification is accessible using the below Passbase API endpoints. You can find more information about the endpoints in our API explorer, and you can use one of our server-side libraries to interact with the Passbase API.
1
// List all identities
2
https://api.passbase.com/verification/v1/identities
3
4
// Get identity for a specific id / key
5
https://api.passbase.com/verification/v1/identities/{id}
Copied!
The response of the API will have the following parameters:

Response parameters

Parameter
Description
first_names
First names of the user the National ID Card belongs to
last_name
Last name of the user the National ID Card belongs to
document_number
The unique document number of the National ID Card
document_origin_country
Origin country of the National ID Card
nationality
Nationality of the user the National ID Card belongs to
date_of_birth
Date of birth of the user the National ID Card belongs to
sex
Gender of the user the National ID Card belongs to
place_of_birth
Place of birth of the user the National ID Card belongs to
date_of_issue
Date of issue of the National ID Card
date_of_expiry
Date of expiration of the National ID Card
authority
Issuing authority of the National ID Card
raw_mrz_string
Unique raw mrz string of the National ID Card
mrtd_issuing_country
Mrtd issuing country of the National ID Card
address
Address of the end user the National ID Card belongs to
city
City of the end user the National ID Card belongs to
country
Country of the end user the National ID Card belongs to
street
Street of the end user the National ID Card belongs to
zip_code
Zip code of the end user the National ID Card belongs to
personal_id_number
Personal id number of the end user the National ID Card belongs to
id_authenticity_factor
Id authenticity score of the National ID Card
face_match_factor
Face match score of the National ID Card
1
{
2
"id": "a44c2593-e2ae-4ed9-b81b-c1330580338a",
3
"status": "approved",
4
"score": 0.86,
5
"created": 1621017727,
6
"updated": 1621143649,
7
"owner": {
8
"email": "[email protected]",
9
"first_name": "JOHN",
10
"last_name": "DOE"
11
},
12
"resources": [
13
{
14
"id": "e7ccd955-4886-4124-97a1-10d0869ce147",
15
"status": "processed",
16
"created": 1620400657,
17
"updated": 1620400659,
18
"type": "NATIONAL_ID_CARD",
19
"datapoints": {
20
"id_authenticity_factor": 0.8,
21
"mrtd_verified": true,
22
"nationality": "AMERICAN",
23
"mrtd_issuing_country": "USA",
24
"mrtd_document_code": "ID",
25
"raw_mrz_string": "ILUSAR0ZRSLM000<<<<<<<<<<<<<<<\n0000000M0000000USA<<<<<<<<NY<3\nDOE<<JOHN<<<<<<<<<<<<<<<<<<<\n",
26
"drivers_license_categories": "D",
27
"sex": "M",
28
"document_number": "000000000",
29
"date_of_expiry": "2023-01-01",
30
"date_of_issue": "2019-01-01",
31
"address": "123 Street NEW YORK NY 10016",
32
"face_match_factor": 0.9,
33
"last_name": "DOE",
34
"first_names": "JOHN",
35
"country": "US",
36
"document_origin_country": "US",
37
"date_of_birth": "1980-01-01"
38
},
39
"resource_files": [...
40
]
41
},
42
{
43
"id": "8f087198-8678-472a-b063-4a6076bcfbec",
44
"status": "processed",
45
"created": 1606762035,
46
"updated": 1606762035,
47
"type": "DRIVERS_LICENSE",
48
"datapoints": {
49
"country": "us",
50
"face_match_factor": 0.8,
51
"id_authenticity_factor": 0.94,
52
"drivers_license_categories": "D",
53
"sex": "male",
54
"document_number": "000 000 000",
55
"date_of_expiry": "2022-01-01",
56
"date_of_issue": "2013-01-01",
57
"address": "123 Street NEW YORK, NY 10016",
58
"last_name": "DOE",
59
"first_names": "JOHN",
60
"date_of_birth": "1980-01-01"
61
},
62
"resource_files": [...
63
]
64
},
65
],
66
"watchlist": null,
67
"metadata": null
68
}
Copied!
Last modified 5mo ago