Verifies a government-issued document against Data Zoo, an external identity data vendor
This step verifies a government-issued document by checking it against Data Zoo, an external identity data vendor, with no user interaction — the journey submits the details from a licence and Data Zoo confirms whether they match the official record. It's a system execution step — it runs entirely within the Mosaic journey engine with no client-facing UI, so it can be used in both Client SDK and Backend API journeys. Before using this step, configure a Data Zoo connection in Integration Hub.
Currently supported: New Zealand and Australian Driver Licence. To request support for a country or document type that isn't yet listed, contact Transmit Security support.
Transmit Security recommends running Identity Verification before this step. Identity Verification performs document authentication, biometric/liveness, and fraud checks that Data Zoo does not — Data Zoo instead validates document data (name, date of birth, licence number/version) against government/registry sources, a different and complementary set of checks. Running Identity Verification first gives the journey a stronger overall identity assurance signal before the Data Zoo check executes.
Once triggered, the step authenticates to Data Zoo (reusing a valid session token or generating a new one), sends the identity and document details for the selected country, and stores the normalized result in the configured output variable.
Start by choosing Country — that decides which document fields are required, and the form updates as soon as it's switched. Document Type is fixed to Driver Licence; it's shown for clarity, not for editing.
| Field | NZ | AU | Description |
|---|---|---|---|
| Data Zoo Instance | required | required | The connection from Integration Hub. |
| Country | required | required | NZ or AU. Defaults to NZ. |
| First Name | required | required | As printed on the licence. |
| Last Name | required | required | As printed on the licence. |
| Middle Name | optional | optional | Must be provided if it appears on the licence — omitting a middle name that the official record carries can cause a mismatch. |
| Date of Birth | required | required | YYYY-MM-DD preferred; DD-MM-YYYY also accepted. |
| Document Number | required | required | The driver licence number. |
| Document Version | required | not used | The 3-digit version number printed on the front of an NZ licence. |
| State of Issue | not used | required | State or territory abbreviation, e.g. NSW, VIC. |
| Card Number | not used | required | The card number printed on an AU licence. |
| Consent Obtained | required | required | Must evaluate to true. Data Zoo rejects the request otherwise — point it at whatever the journey uses to record consent rather than hardcoding true. |
| Client Reference | optional | optional | Your own identifier, echoed back by Data Zoo and visible in their reporting console. Leave empty and the journey's correlation ID is used, which is what makes Data Zoo's logs line up with Mosaic's — usually the better choice. |
| Output Variable | — | — | Defaults to data_zoo_document_verification_result. |
| Error Output Variable | — | — | Name of the variable that stores failure reasons. |
| Failure Behavior | — | — | Determines the behavior in case of failure, which either aborts the journey or proceeds to a failure branch of the control flow (default). |
The NZ and AU field sets are exclusive — a journey never fills in both Document Version and State of Issue/Card Number at once.
This step can be configured to record step input and output data, or a custom payload, which is then surfaced in journey events in Journey Analytics for diagnostic purposes. For details, see Additional data reporting.
{
"identity_verified": true,
"match_status": "Verified",
"search_status": "Successful",
"safe_harbour": false,
"reporting_reference": "DZ-123456",
"client_reference": "journey-correlation-id",
"country_code": "NZ",
"document_type": "Driver Licence",
"search_error_message": "",
"remarks": ["All supplied fields matched"],
"service_responses": {},
"raw_response": {}
}| Field | Meaning |
|---|---|
| identity_verified | The primary success signal — true/false. |
| match_status | Overall verification outcome. |
| search_status | Whether the vendor search actually executed (e.g. "Successful"). |
| safe_harbour | Compliance-grade indicator. |
| reporting_reference | Data Zoo's transaction ID — quote this when raising a case with them. |
| client_reference | Echo of the Client Reference input. |
| country_code, document_type | Echoed back by Data Zoo. |
| search_error_message | Error detail from the vendor, when present. |
| remarks | Vendor remarks. |
| service_responses | Per-service detail, including per-field match results (first name, last name, date of birth, licence number). |
| raw_response | Data Zoo's complete response. |
For a partial-match policy — e.g. accepting a licence-number and DOB match while the name differs — read the per-field results under service_responses rather than relying on identity_verified alone.
| Branch | When it occurs |
|---|---|
| Verified | The search ran and the identity was confirmed. |
| Not Verified | Either the search ran and didn't confirm the identity, or the search itself couldn't be completed. Both are answers from Data Zoo, not faults, so both land here — search_status and search_error_message distinguish the two: a genuine mismatch is a fraud signal, while an unavailable source is a retry-or-fallback situation. |
| Failed | Bad credentials, malformed requests, timeouts, or network errors. |
- Everything comes back Not Verified: Two usual causes. First, an environment mismatch — a sandbox connection only recognizes Data Zoo's test data, so real licence details correctly fail there. Second, a missing Middle Name when the official record has one, or a Document Version / Card Number that was mistyped — those are exact-match fields.
- Verification is rejected outright: Check that Consent Obtained resolves to
trueat runtime, not just in the editor. - Unexpected required fields appear: The journey switched Country. NZ requires Document Version; AU requires State of Issue and Card Number — the fields are exclusive.
Suppose a journey collects a user's name, date of birth, and driver licence number and version using a Collect information form, storing the result in licenceForm, and has already captured consent in consentGiven. This step is configured with country = NZ (or AU), mapping the name, date of birth, document number/version (or state of issue/card number for AU), and Consent Obtained = consentGiven from the form, and storing the result in an output variable named dataZooResult.
A following Condition step can check dataZooResult.identity_verified == true on the Verified / Not Verified path — if true, the journey proceeds (e.g., to Create user). If the step takes the Not Verified branch, inspect dataZooResult.search_status and dataZooResult.search_error_message to distinguish a genuine no-match from a vendor-declined search; if it takes the Failed branch, inspect the configured Error Output Variable for connector or request errors.