Browse endpoints

Validate Australian travel documents

POST /api/v2/dvs/passport operationId: dvs.passport

Live: https://gdapi.globaldata.net.au/api/v2/dvs/passport · Sandbox: https://sandbox-gdapi.globaldata.net.au/api/v2/dvs/passport

Validates a Passport, Certificate of Identity, Document of Identity, or UN Convention Travel Document against the Australian Document Verification Service (DVS).

Sandbox environment

When simulating queries in the sandbox environment, a specific set of travel document numbers will return a specific result. The response will be determined by the travel document number:

DVS sandbox responses for this document

Request body

Content type application/json. The document details to validate

FieldDescription
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.

Example: false

consent boolean

The individual's consent to perform the check

Example: true

oac string [4..20 characters] or null

The DVS Identity (Originating Agency Code) to run the check under. You only need this if Global Data has set up additional DVS Identities on your account, for example because you submit checks on behalf of other organisations.

If you leave it out, your account's own DVS Identity is used. If you send it, it must be your account's own DVS Identity or one of its additional identities. Any other value is rejected.

In the sandbox you can also use the sample identities SANDBOX1, SANDBOX2 and SANDBOX3, so you can try checks on behalf of another organisation before your own are set up. They are rejected in the live environment.

Example: ABC1

first_name string

The first name of the document holder as printed on the document

Example: John

last_name string

The last name of the document holder as printed on the document

Example: Smith

birth_date string (date)

The date of birth of the document holder

Example: 1980-01-01

travel_document_number string

The travel document number to be validated

Example: M1234567

gender string

The gender of the document holder

Enum: M, F, X

Example: M

Responses

200

Result of the validation

application/json
FieldDescription
message string

A message indicating the result of the request. This will be Ok if the request was successful.

Example: Ok

function string

The function that was called

Example: dvs_passport

api_reference string (uuid)

A unique identifier for this request. This can be used to track the request in the logs.

Example: fe4291ca-d831-4760-96df-c9cb03b3cd95

data object

The check data

data.response_type string

The type of response

Example: PassportResponse

data.activity_id string

A reference ID for this activity. This ID can be used to track the activity in the logs.

Example: sandbox-d06ed58a-b279-4f50-9b6e-5a0a26b4e87d

data.verification_request_number string

A unique reference number for this request

Example: dec306ed-7cff-41c0-b02f-889e430f5309

data.verification_result_code string

The result of the verification

  • Y - The document is valid
  • N - The document was not matched
  • D - The document is invalid or not electronically captured
  • S - An error occurred during the check

Enum: Y, N, S, D

Example: N

data.additional_information array of objects

An array of expanded responses returned from the DVSHub or Document Issuer for N or D results

data.additional_information[].message string

A message indicating the reason for the N or D result.

Example: Document Invalid.

data.additional_information[].code string

A code number associated with the corresponding message.

Example: PP-001

202

A successful preflight check. A 400 will be returned if the preflight check fails.

application/json
FieldDescription
message string

A message indicating the result of the request. This will be Ok if the request was successful.

Example: Ok

function string

The function that was called

Example: dvs_aec

api_reference string (uuid)

A unique identifier for this request. This can be used to track the request in the logs.

Example: fe4291ca-d831-4760-96df-c9cb03b3cd95

data null

For preflight checks this is null

Standard error responses: 400 401 402 403 429 503 5XX See common error responses