curl -X POST "https://verification.didit.me/v3/database-validation/" \
-H "x-api-key: YOUR_API_KEY" \
-F "issuing_state=AUS" \
-F "services=aus_australia_driver_licence" \
-F "vendor_data=user-1234" \
-F "consent=true" \
-F "first_name=John" \
-F "last_name=Doe" \
-F "date_of_birth=1990-01-01" \
-F "driver_license_number=SAMPLE-DL-12345" \
-F "driver_license_card_number=87654321" \
-F "driver_license_state=Sample State"
from didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
result = client.database_validation.validate(
issuing_state="AUS",
services=["aus_australia_driver_licence"],
consent=True,
first_name="John",
last_name="Doe",
date_of_birth="1990-01-01",
driver_license_number="SAMPLE-DL-12345",
driver_license_card_number="87654321",
driver_license_state="Sample State",
vendor_data="user-1234",
)
print(result)
import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const result = await didit.databaseValidation.validate({
issuing_state: "AUS",
services: ["aus_australia_driver_licence"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
driver_license_number: "SAMPLE-DL-12345",
driver_license_card_number: "87654321",
driver_license_state: "Sample State",
vendor_data: "user-1234",
});
console.log(result);
ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
result, err := client.DatabaseValidation.Validate(ctx, didit.DatabaseValidationValidateParams{
IssuingState: "AUS",
Services: didit.Some([]string{"aus_australia_driver_licence"}),
Consent: didit.Bool(true),
FirstName: didit.String("John"),
LastName: didit.String("Doe"),
DateOfBirth: didit.String("1990-01-01"),
DriverLicenseNumber: didit.String("SAMPLE-DL-12345"),
DriverLicenseCardNumber: didit.String("87654321"),
DriverLicenseState: didit.String("Sample State"),
VendorData: didit.String("user-1234"),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)
import java.time.LocalDate;
import java.util.List;
import me.didit.Didit;
import me.didit.types.DatabaseValidationValidateParams;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
var result = client.databaseValidation().validate(DatabaseValidationValidateParams.builder()
.issuingState("AUS")
.services(List.of("aus_australia_driver_licence"))
.consent(true)
.firstName("John")
.lastName("Doe")
.dateOfBirth(LocalDate.parse("1990-01-01"))
.driverLicenseNumber("SAMPLE-DL-12345")
.driverLicenseCardNumber("87654321")
.driverLicenseState("Sample State")
.vendorData("user-1234")
.build());
System.out.println(result);
<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$result = $didit->databaseValidation->validate([
'issuing_state' => 'AUS',
'services' => ['aus_australia_driver_licence'],
'consent' => true,
'first_name' => 'John',
'last_name' => 'Doe',
'date_of_birth' => '1990-01-01',
'driver_license_number' => 'SAMPLE-DL-12345',
'driver_license_card_number' => '87654321',
'driver_license_state' => 'Sample State',
'vendor_data' => 'user-1234',
]);
print_r($result->toArray());
require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
result = didit.database_validation.validate(
issuing_state: "AUS",
services: ["aus_australia_driver_licence"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
driver_license_number: "SAMPLE-DL-12345",
driver_license_card_number: "87654321",
driver_license_state: "Sample State",
vendor_data: "user-1234"
)
puts result.to_h
using System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var result = await client.DatabaseValidation.ValidateAsync(new DatabaseValidationValidateParams
{
IssuingState = "AUS",
Services = new string[] { "aus_australia_driver_licence" },
Consent = true,
FirstName = "John",
LastName = "Doe",
DateOfBirth = "1990-01-01",
DriverLicenseNumber = "SAMPLE-DL-12345",
DriverLicenseCardNumber = "87654321",
DriverLicenseState = "Sample State",
VendorData = "user-1234",
});
Console.WriteLine(JsonSerializer.Serialize(result));
{
"request_id": "req_01H…",
"status": "Approved",
"issuing_state": "AUS",
"match_type": "full_match",
"validations": [
{
"outcome_code": "MATCH",
"service_id": "aus_australia_driver_licence",
"service_name": "DVS - Australia Driver Licence",
"source_data": {
"date_of_birth": "1990-01-01",
"first_name": "John",
"full_name": "John Doe",
"identification_number": "SAMPLE-ID-12345",
"last_name": "Doe",
"name_match_score": "1.000",
"verifications": {
"date_of_birth": true,
"full_name": true,
"identification_number": true
}
},
"validation": {
"date_of_birth": "full_match",
"full_name": "full_match",
"identification_number": "full_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "In Review",
"issuing_state": "AUS",
"match_type": "partial_match",
"validations": [
{
"outcome_code": "PARTIAL_MATCH",
"service_id": "aus_australia_driver_licence",
"service_name": "DVS - Australia Driver Licence",
"source_data": {
"date_of_birth": "1990-01-01",
"first_name": "John",
"full_name": "John Doe",
"identification_number": "SAMPLE-ID-12345",
"last_name": "Doe",
"name_match_score": "1.000",
"verifications": {
"date_of_birth": true,
"full_name": false,
"identification_number": true
}
},
"validation": {
"date_of_birth": "full_match",
"full_name": "no_match",
"identification_number": "full_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "AUS",
"match_type": "no_match",
"validations": [
{
"outcome_code": "NO_MATCH",
"service_id": "aus_australia_driver_licence",
"service_name": "DVS - Australia Driver Licence",
"source_data": {
"date_of_birth": "NO_MATCH",
"full_name": "NO_MATCH",
"identification_number": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
🇦🇺 Австралия
Проверка водительских прав Австралии (DVS): API Didit
Проверка водительских прав Австралии по официальной базе данных через Didit. Оплата за вызов от $0.75, без контрактов и минимумов.
POST
/
v3
/
database-validation
/
curl -X POST "https://verification.didit.me/v3/database-validation/" \
-H "x-api-key: YOUR_API_KEY" \
-F "issuing_state=AUS" \
-F "services=aus_australia_driver_licence" \
-F "vendor_data=user-1234" \
-F "consent=true" \
-F "first_name=John" \
-F "last_name=Doe" \
-F "date_of_birth=1990-01-01" \
-F "driver_license_number=SAMPLE-DL-12345" \
-F "driver_license_card_number=87654321" \
-F "driver_license_state=Sample State"
from didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
result = client.database_validation.validate(
issuing_state="AUS",
services=["aus_australia_driver_licence"],
consent=True,
first_name="John",
last_name="Doe",
date_of_birth="1990-01-01",
driver_license_number="SAMPLE-DL-12345",
driver_license_card_number="87654321",
driver_license_state="Sample State",
vendor_data="user-1234",
)
print(result)
import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const result = await didit.databaseValidation.validate({
issuing_state: "AUS",
services: ["aus_australia_driver_licence"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
driver_license_number: "SAMPLE-DL-12345",
driver_license_card_number: "87654321",
driver_license_state: "Sample State",
vendor_data: "user-1234",
});
console.log(result);
ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
result, err := client.DatabaseValidation.Validate(ctx, didit.DatabaseValidationValidateParams{
IssuingState: "AUS",
Services: didit.Some([]string{"aus_australia_driver_licence"}),
Consent: didit.Bool(true),
FirstName: didit.String("John"),
LastName: didit.String("Doe"),
DateOfBirth: didit.String("1990-01-01"),
DriverLicenseNumber: didit.String("SAMPLE-DL-12345"),
DriverLicenseCardNumber: didit.String("87654321"),
DriverLicenseState: didit.String("Sample State"),
VendorData: didit.String("user-1234"),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)
import java.time.LocalDate;
import java.util.List;
import me.didit.Didit;
import me.didit.types.DatabaseValidationValidateParams;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
var result = client.databaseValidation().validate(DatabaseValidationValidateParams.builder()
.issuingState("AUS")
.services(List.of("aus_australia_driver_licence"))
.consent(true)
.firstName("John")
.lastName("Doe")
.dateOfBirth(LocalDate.parse("1990-01-01"))
.driverLicenseNumber("SAMPLE-DL-12345")
.driverLicenseCardNumber("87654321")
.driverLicenseState("Sample State")
.vendorData("user-1234")
.build());
System.out.println(result);
<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$result = $didit->databaseValidation->validate([
'issuing_state' => 'AUS',
'services' => ['aus_australia_driver_licence'],
'consent' => true,
'first_name' => 'John',
'last_name' => 'Doe',
'date_of_birth' => '1990-01-01',
'driver_license_number' => 'SAMPLE-DL-12345',
'driver_license_card_number' => '87654321',
'driver_license_state' => 'Sample State',
'vendor_data' => 'user-1234',
]);
print_r($result->toArray());
require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
result = didit.database_validation.validate(
issuing_state: "AUS",
services: ["aus_australia_driver_licence"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
driver_license_number: "SAMPLE-DL-12345",
driver_license_card_number: "87654321",
driver_license_state: "Sample State",
vendor_data: "user-1234"
)
puts result.to_h
using System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var result = await client.DatabaseValidation.ValidateAsync(new DatabaseValidationValidateParams
{
IssuingState = "AUS",
Services = new string[] { "aus_australia_driver_licence" },
Consent = true,
FirstName = "John",
LastName = "Doe",
DateOfBirth = "1990-01-01",
DriverLicenseNumber = "SAMPLE-DL-12345",
DriverLicenseCardNumber = "87654321",
DriverLicenseState = "Sample State",
VendorData = "user-1234",
});
Console.WriteLine(JsonSerializer.Serialize(result));
{
"request_id": "req_01H…",
"status": "Approved",
"issuing_state": "AUS",
"match_type": "full_match",
"validations": [
{
"outcome_code": "MATCH",
"service_id": "aus_australia_driver_licence",
"service_name": "DVS - Australia Driver Licence",
"source_data": {
"date_of_birth": "1990-01-01",
"first_name": "John",
"full_name": "John Doe",
"identification_number": "SAMPLE-ID-12345",
"last_name": "Doe",
"name_match_score": "1.000",
"verifications": {
"date_of_birth": true,
"full_name": true,
"identification_number": true
}
},
"validation": {
"date_of_birth": "full_match",
"full_name": "full_match",
"identification_number": "full_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "In Review",
"issuing_state": "AUS",
"match_type": "partial_match",
"validations": [
{
"outcome_code": "PARTIAL_MATCH",
"service_id": "aus_australia_driver_licence",
"service_name": "DVS - Australia Driver Licence",
"source_data": {
"date_of_birth": "1990-01-01",
"first_name": "John",
"full_name": "John Doe",
"identification_number": "SAMPLE-ID-12345",
"last_name": "Doe",
"name_match_score": "1.000",
"verifications": {
"date_of_birth": true,
"full_name": false,
"identification_number": true
}
},
"validation": {
"date_of_birth": "full_match",
"full_name": "no_match",
"identification_number": "full_match"
}
}
]
}
{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "AUS",
"match_type": "no_match",
"validations": [
{
"outcome_code": "NO_MATCH",
"service_id": "aus_australia_driver_licence",
"service_name": "DVS - Australia Driver Licence",
"source_data": {
"date_of_birth": "NO_MATCH",
"full_name": "NO_MATCH",
"identification_number": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
Проверяет входные данные с помощью службы Document Verification Service (DVS). Didit предоставляет эту службу через
POST /v3/database-validation/, чтобы вы могли сверить отправленные данные с первоисточником и получить нормализованные результаты сопоставления.
Покрытие
- Покрытие: 100%*
- Страна: Австралия
- ID сервиса:
aus_australia_driver_licence - Домен данных: Документ
- Категория: DriverLicence
Входные данные
| Поле | Обязательно | Пример |
|---|---|---|
first_name | Да | John |
last_name | Да | Doe |
date_of_birth | Да | 1990-01-01 |
driver_license_number | Да | SAMPLE-DL-12345 |
driver_license_card_number | Да | 87654321 |
driver_license_state | Да | Sample State |
middle_name | Нет | Demo |
vendor_data | Нет | user-1234 |
- Обязательные поля:
first_name,last_name,date_of_birth,driver_license_number,driver_license_card_number,driver_license_state - Необязательные поля:
middle_name,vendor_data - Согласие: обязательно
- Доступность в сценарии: доступно в сценарии
- Покрытие: 100%*
- Цена: $0.75 за успешный запрос
Параметры тела запроса
string
по умолчанию:"AUS"
обязательно
Код страны ISO 3166-1 alpha-3 для этой службы проверки по базам данных.Пример:
AUSstring
по умолчанию:"aus_australia_driver_licence"
обязательно
Массив, содержащий ID этого сервиса. Закрепление сервиса ограничивает запрос этой конкретной базой данных.Пример:
aus_australia_driver_licenceboolean
по умолчанию:"true"
обязательно
Явное согласие конечного пользователя на использование этого сервиса.Пример:
truestring
по умолчанию:"John"
обязательно
Имя, которое нужно проверить.Пример:
Johnstring
по умолчанию:"Doe"
обязательно
Фамилия, которую нужно проверить.Пример:
Doestring
по умолчанию:"1990-01-01"
обязательно
Дата рождения в формате
YYYY-MM-DD.Пример: 1990-01-01string
по умолчанию:"SAMPLE-DL-12345"
обязательно
Номер водительского удостоверения.Пример:
SAMPLE-DL-12345string
по умолчанию:"87654321"
обязательно
Значение
driver_license_card_number, обязательное для этой службы проверки по базам данных.Пример: 87654321string
по умолчанию:"Sample State"
обязательно
Штат или регион, выдавший водительское удостоверение.Пример:
Sample Statestring
Второе имя, если известно.Пример:
Demostring
по умолчанию:"user-1234"
Ваш постоянный идентификатор этого человека, например внутренний ID пользователя. Didit использует его, чтобы связывать отдельные проверки с одним и тем же конечным пользователем и снижать количество лишних срабатываний при поиске дубликатов.Пример:
user-1234Правила ввода и примечания по валидации
- Передавайте перечисленные выше поля ровно так, как они получены от пользователя или из документа.
- Didit проверяет обязательные поля до обращения к базе данных. Запросы, отклонённые до обращения к источнику, не тарифицируются.
Как выполнить вызов
curl -X POST "https://verification.didit.me/v3/database-validation/" \
-H "x-api-key: YOUR_API_KEY" \
-F "issuing_state=AUS" \
-F "services=aus_australia_driver_licence" \
-F "vendor_data=user-1234" \
-F "consent=true" \
-F "first_name=John" \
-F "last_name=Doe" \
-F "date_of_birth=1990-01-01" \
-F "driver_license_number=SAMPLE-DL-12345" \
-F "driver_license_card_number=87654321" \
-F "driver_license_state=Sample State"
from didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
result = client.database_validation.validate(
issuing_state="AUS",
services=["aus_australia_driver_licence"],
consent=True,
first_name="John",
last_name="Doe",
date_of_birth="1990-01-01",
driver_license_number="SAMPLE-DL-12345",
driver_license_card_number="87654321",
driver_license_state="Sample State",
vendor_data="user-1234",
)
print(result)
import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const result = await didit.databaseValidation.validate({
issuing_state: "AUS",
services: ["aus_australia_driver_licence"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
driver_license_number: "SAMPLE-DL-12345",
driver_license_card_number: "87654321",
driver_license_state: "Sample State",
vendor_data: "user-1234",
});
console.log(result);
ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
result, err := client.DatabaseValidation.Validate(ctx, didit.DatabaseValidationValidateParams{
IssuingState: "AUS",
Services: didit.Some([]string{"aus_australia_driver_licence"}),
Consent: didit.Bool(true),
FirstName: didit.String("John"),
LastName: didit.String("Doe"),
DateOfBirth: didit.String("1990-01-01"),
DriverLicenseNumber: didit.String("SAMPLE-DL-12345"),
DriverLicenseCardNumber: didit.String("87654321"),
DriverLicenseState: didit.String("Sample State"),
VendorData: didit.String("user-1234"),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)
import java.time.LocalDate;
import java.util.List;
import me.didit.Didit;
import me.didit.types.DatabaseValidationValidateParams;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
var result = client.databaseValidation().validate(DatabaseValidationValidateParams.builder()
.issuingState("AUS")
.services(List.of("aus_australia_driver_licence"))
.consent(true)
.firstName("John")
.lastName("Doe")
.dateOfBirth(LocalDate.parse("1990-01-01"))
.driverLicenseNumber("SAMPLE-DL-12345")
.driverLicenseCardNumber("87654321")
.driverLicenseState("Sample State")
.vendorData("user-1234")
.build());
System.out.println(result);
<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$result = $didit->databaseValidation->validate([
'issuing_state' => 'AUS',
'services' => ['aus_australia_driver_licence'],
'consent' => true,
'first_name' => 'John',
'last_name' => 'Doe',
'date_of_birth' => '1990-01-01',
'driver_license_number' => 'SAMPLE-DL-12345',
'driver_license_card_number' => '87654321',
'driver_license_state' => 'Sample State',
'vendor_data' => 'user-1234',
]);
print_r($result->toArray());
require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
result = didit.database_validation.validate(
issuing_state: "AUS",
services: ["aus_australia_driver_licence"],
consent: true,
first_name: "John",
last_name: "Doe",
date_of_birth: "1990-01-01",
driver_license_number: "SAMPLE-DL-12345",
driver_license_card_number: "87654321",
driver_license_state: "Sample State",
vendor_data: "user-1234"
)
puts result.to_h
using System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var result = await client.DatabaseValidation.ValidateAsync(new DatabaseValidationValidateParams
{
IssuingState = "AUS",
Services = new string[] { "aus_australia_driver_licence" },
Consent = true,
FirstName = "John",
LastName = "Doe",
DateOfBirth = "1990-01-01",
DriverLicenseNumber = "SAMPLE-DL-12345",
DriverLicenseCardNumber = "87654321",
DriverLicenseState = "Sample State",
VendorData = "user-1234",
});
Console.WriteLine(JsonSerializer.Serialize(result));
Каждый успешный вызов возвращает HTTP 200. Поле outcome_code показывает, что произошло на самом деле: например, отличает реальное несовпадение биометрии (BIOMETRIC_NO_MATCH) от селфи, которое не удалось прочитать (BIOMETRIC_IMAGE_UNUSABLE). Показанный status — это статус функции по умолчанию; настроенные вами действия при частичном совпадении и при отсутствии совпадения могут его переопределить.MATCH: реестр подтвердил личность, и все проверяемые поля совпали.{
"request_id": "req_01H…",
"status": "Approved",
"issuing_state": "AUS",
"match_type": "full_match",
"validations": [
{
"outcome_code": "MATCH",
"service_id": "aus_australia_driver_licence",
"service_name": "DVS - Australia Driver Licence",
"source_data": {
"date_of_birth": "1990-01-01",
"first_name": "John",
"full_name": "John Doe",
"identification_number": "SAMPLE-ID-12345",
"last_name": "Doe",
"name_match_score": "1.000",
"verifications": {
"date_of_birth": true,
"full_name": true,
"identification_number": true
}
},
"validation": {
"date_of_birth": "full_match",
"full_name": "full_match",
"identification_number": "full_match"
}
}
]
}
PARTIAL_MATCH: идентификационный номер найден, но одно или несколько личных полей (обычно имя или дата рождения) не полностью совпали.{
"request_id": "req_01H…",
"status": "In Review",
"issuing_state": "AUS",
"match_type": "partial_match",
"validations": [
{
"outcome_code": "PARTIAL_MATCH",
"service_id": "aus_australia_driver_licence",
"service_name": "DVS - Australia Driver Licence",
"source_data": {
"date_of_birth": "1990-01-01",
"first_name": "John",
"full_name": "John Doe",
"identification_number": "SAMPLE-ID-12345",
"last_name": "Doe",
"name_match_score": "1.000",
"verifications": {
"date_of_birth": true,
"full_name": false,
"identification_number": true
}
},
"validation": {
"date_of_birth": "full_match",
"full_name": "no_match",
"identification_number": "full_match"
}
}
]
}
NO_MATCH: реестр не вернул совпадений для отправленных данных.{
"request_id": "req_01H…",
"status": "Declined",
"issuing_state": "AUS",
"match_type": "no_match",
"validations": [
{
"outcome_code": "NO_MATCH",
"service_id": "aus_australia_driver_licence",
"service_name": "DVS - Australia Driver Licence",
"source_data": {
"date_of_birth": "NO_MATCH",
"full_name": "NO_MATCH",
"identification_number": "NO_MATCH"
},
"validation": {
"date_of_birth": "no_match",
"full_name": "no_match",
"identification_number": "no_match"
}
}
]
}
Возвращаемые данные
Точный набор полей вsource_data зависит от того, что возвращает реестр. Сгенерированный пример для aus_australia_driver_licence сейчас описывает такую нормализованную структуру:
date_of_birthfirst_namefull_nameidentification_numberlast_namename_match_score
Цены и SLA
Запросы DVS - Australia Driver Licence тарифицируются только тогда, когда Didit получает окончательный результат от источника проверки.- Цена за вызов: $0.75 USD.
- Тарификация: за успешный запрос. Плата не взимается, если реестр недоступен, если не заполнены обязательные поля или если запрос отклонён до обращения к источнику.
- Задержка: типичный p95 менее 2 с.
- Доступность: 99.9% за квартал со стороны Didit; доступность внешнего источника зависит от страны и набора данных.
Что читать дальше
Последнее изменение 7 ноября 2026 г.