Skip to main content
Sandbox payloads for the AUS Citizenship Certificate endpoint.
When your account is in sandbox mode, these payloads return the outcomes shown below. No credit is reserved or charged. Every field in the request body selects the scenario, so send each payload exactly as shown. Values are case-sensitive, and adding an optional field that a sample leaves out, or leaving out one that it includes, returns the details not on record response. dob is the exception: send it as DD-MM-YYYY or YYYY-MM-DD. createdAt is generated per request, and trustFlowId, trustValidationId and metadata are echoed back from your request and trust validation. See Sandbox introduction for the shared sandbox rules.

Verified

In data, isValid is true when VerificationResultCode is 1. ActivityId and VerificationRequestNumber are fixed sandbox values. In live they are unique to each request.
Request
Response — HTTP 200
Request
Response — HTTP 200

Rejected

A rejection is a completed verification, not an error. It returns HTTP 200 with verificationStatus set to REJECTED, and Errors says which field was rejected and by whom: Issuer for the document issuer, DVS for the DVS hub.
Request
Response — HTTP 200
Errors names the field the issuer rejected.
Request
Response — HTTP 200
Errors names the field the issuer rejected.
Request
Response — HTTP 200
Any details that are not listed on this page return this same response, so SMITH is only an example. This includes a listed sample with an optional field added or removed.

Validation failures

Validation runs before any fixture matching, so these behave identically in sandbox and live. They return HTTP 400, and message is the first validation error.
Request
Response — HTTP 400
Request
Response — HTTP 404
trustValidationId must belong to your company. Create a trust validation first, then use its ID.

Source unavailable

Request
Response — HTTP 500
There is no data, verificationStatus or trustValidationId in this response. Treat it as a temporary failure and retry later. No credit is charged in live mode.

Account-level responses

Two further responses are not specific to this endpoint. A missing or invalid Authorization header returns HTTP 401, and an account without the australia_citizenship_certificate plan returns HTTP 403 — both enforced in sandbox exactly as in live. See Sandbox introduction for their envelopes.