Validate a drivers licence
/api/v2/dvs/drivers_licence
operationId: dvs.driver_licence
Live: https://gdapi.globaldata.net.au/api/v2/dvs/drivers_licence · Sandbox: https://sandbox-gdapi.globaldata.net.au/api/v2/dvs/drivers_licence
Validates a drivers licence number against the Australian Document Verification Service (DVS).
N.B. Middle names will not be checked if not supplied so it is optional to supply it.
Victorian driver licences sometimes only print an initial for the middle name. However the full first middle name will be on record and must be entered if the middle name is supplied.
For this reason, DVS advise not to send the middle name for a licence check. This will work for all states and territories.
If a middle name is supplied then it will be checked. An initial entered for the middle name will likely result in a failed matched.
Sandbox environment
When simulating queries in the sandbox environment, a specific set of drivers licence numbers will return a specific result. The response will be determined by the drivers licence number:
Request body
Content type application/json.
The licence details to validate
| Field | Description |
|---|---|
preflight |
boolean When set to true, the request will only perform a preflight check to validate the input parameters. No actual verification will be performed. |
consent |
boolean The individual's consent to perform the check |
first_name |
string The first name of the licence holder |
middle_name |
string or null The middle name of the licence holder. This field is optional and can be left blank. It will not be checked if not supplied. However, if supplied, it will be checked. |
last_name |
string The last name of the licence holder |
birth_date |
string (date) The date of birth of the licence holder |
licence_number |
string The drivers licence number to be validated |
card_number |
string The card number of the licence to be validated |
state |
string The state of issue for the drivers licence |
Responses
Result of licence validation
application/json
| Field | Description |
|---|---|
message |
string A message indicating the result of the request. This will be |
function |
string The function that was called |
api_reference |
string (uuid) A unique identifier for this request. This can be used to track the request in the logs. |
data |
object The check data |
data. |
string The type of response |
data. |
string A reference ID for this activity. This ID can be used to track the activity in the logs. |
data. |
string A unique reference number for this request |
data. |
string The result of the verification
|
data. |
array of objects An array of expanded responses returned from the DVSHub or Document Issuer for N or D results |
data. |
string A message indicating the reason for the N or D result. |
data. |
string A code number associated with the corresponding message. |
A successful preflight check. A 400 will be returned if the preflight check fails.
application/json
| Field | Description |
|---|---|
message |
string A message indicating the result of the request. This will be |
function |
string The function that was called |
api_reference |
string (uuid) A unique identifier for this request. This can be used to track the request in the logs. |
data |
null For preflight checks this is null |