Skip to main content

CustomerDataBsDrivingLicense

Extends CustomerDataDto: the object also contains its base fields (country, documentType, firstName, lastName and the optional customerId), which are not repeated below. The fields listed here are specific to this country and document type.

documentNumberstringrequired

Driver's Licence Number (9 digits).

Possible values: Value must match regular expression ^\d{9}$

Example: 123456789
middleNamestringrequired

Middle name

Example: Joshua
birthDatenumberrequired

Birth date timestamp.

Example: 403401600000
sexstringrequired

Sex/Gender ('FEMALE' or 'MALE').

Possible values: [FEMALE, MALE]

Example: FEMALE
issueDatenumberrequired

License issue date timestamp (start of validity period).

Example: 1643760000000
expirationDatenumberrequired

License expiration date timestamp.

Example: 1801526400000
nationalInsuranceNumberstringrequired

National Insurance Number.

Possible values: Value must match regular expression ^\d{8}$

Example: 12345678
authoritystring

Issuing Authority

CustomerDataBsDrivingLicense
{
"documentNumber": "123456789",
"middleName": "Joshua",
"birthDate": 403401600000,
"sex": "FEMALE",
"issueDate": 1643760000000,
"expirationDate": 1801526400000,
"nationalInsuranceNumber": "12345678",
"authority": "string"
}