Validate a marriage certificate
/api/v2/dvs/marriage
operationId: dvs.marriage
Live: https://gdapi.globaldata.net.au/api/v2/dvs/marriage · Sandbox: https://sandbox-gdapi.globaldata.net.au/api/v2/dvs/marriage
Validates a marriage certificate against the Australian Document Verification Service (DVS).
The registration field is state-specific: for QLD the registration_date is used, while for all
other states the registration_number is used. If you supply the field that does not apply to the
requested state, it is silently ignored and not forwarded to DVS. A supplied registration_date must still
be a valid YYYY-MM-DD date even when it will be ignored, otherwise the request is rejected.
Sandbox environment
When simulating queries in the sandbox environment, a specific set of marriage certificates will return a specific result. The response will be determined by the certificate number:
Request body
Content type application/json.
The marriage certificate 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 |
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 |
first_name1 |
string The first name of the first person listed on the document |
last_name1 |
string The last name of the first person listed on the document |
first_name2 |
string The first name of the second person listed on the document |
last_name2 |
string The last name of the second person listed on the document |
event_date |
string (date) The date of the marriage |
registration_number |
string The registration number on the certificate to be validated. Used for all states except QLD; silently ignored for QLD certificates. |
certificate_number |
string The certificate number on the certificate to be validated |
registration_date |
string (date) The registration date on the certificate to be validated. Used for QLD certificates only; silently ignored for all other states. Must be a valid YYYY-MM-DD date even when ignored. |
state |
string The state of issue for the marriage certificate |
Responses
Result of the document verification check
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 |