NZ Driver Licence Check
/api/v2/nz_driver_licence
operationId: nz_driver_licence
Live: https://gdapi.globaldata.net.au/api/v2/nz_driver_licence · Sandbox: https://sandbox-gdapi.globaldata.net.au/api/v2/nz_driver_licence
Verifies an individual's identity against the New Zealand NZTA Driver Licence database.
Input
last_nameis required.first_nameis optional - omit for single-name (mononym) licence holders.middle_nameis optional.birth_datemust be inYYYY-MM-DDformat.licence_numbermust be a valid NZ driver licence number (2 uppercase letters followed by 6 digits with a valid check digit).licence_versionis the 3-digit version number from the front of the licence.consentmust betrue.
Output
Returns:
reporting_reference- unique transaction identifiermatch_status-"Match"or"NoMatch"document_verified- boolean indicating whether the supplied licence details were verified by NZTAadditional_information- only present when the data source returned an explanatory message alongside aNoMatchresult
Sandbox environment data
When simulating queries in the sandbox environment, the following record will return a match:
| First Name | Last Name | Date of Birth | Licence Number | Licence Version |
|---|---|---|---|---|
| Dana | Mitchell | 1965-09-13 | DB512036 | 001 |
Name matching is case insensitive, and licence_number is converted to upper case before it is
validated, so db512036 is also accepted. Any other otherwise-valid identity returns a
match_status of NoMatch with document_verified set to false.
The following sentinel values simulate the remaining outcomes:
| Field | Value | Sandbox result |
|---|---|---|
licence_number |
DB111112 |
200 - a NoMatch result carrying additional_information. |
licence_number |
DB000000 |
503 - the licence source is unavailable. |
licence_version |
999 |
400 - the request was rejected as invalid. |
Request body
Content type application/json.
NZ Driver Licence verification request.
| Field | Description |
|---|---|
first_name |
string [max 60 characters] or null First name as it appears on the licence. Omit for single-name (mononym) licence holders. |
middle_name |
string [max 60 characters] or null Middle name if present on the licence. |
last_namerequired |
string [max 60 characters] Last name as it appears on the licence. |
birth_daterequired |
string (date) Date of birth in YYYY-MM-DD format. |
licence_numberrequired |
string NZ driver licence number. |
licence_versionrequired |
string [max 60 characters] 3-digit version number from the front of the licence. |
consentrequired |
boolean Must be true. Confirms consent has been obtained. |
Responses
NZ Driver Licence verification result.
application/json
| Field | Description |
|---|---|
message |
string |
function |
string |
api_reference |
string (uuid) |
data |
object |
data. |
string Unique transaction identifier. |
data. |
string Overall match result. |
data. |
boolean Whether NZTA reports the supplied licence details as verified. Defaults to |
data. |
string An explanatory message returned by the data source about the result. Only present when the source supplied one - typically alongside a |