Driver's license validation
Table of Contents
Introduction
POST /v1/natural/drivers-license
endpoint will return information about the driver’s license validity and expiration date.
Authentication
An access token must be included in the request to access the API.
You can obtain an access token by following the instructions provided here.
Endpoint and Environments
Environment | Swagger URL | API URL | Endpoint | Scope |
---|---|---|---|---|
Sandbox |
| POST | registries_driverslicense_writeonly | |
Production |
| POST | registries_driverslicense_writeonly |
Data retrieval
To perform a driver’s license check, you need to make a POST request to the /v1/natural/drivers-license
endpoint.
Request header
Parameter | Type | Required | Description |
---|---|---|---|
Correlation-Id | string | no | A unique identifier assigned to the request. |
Application-Id | string | YES | Your application Id. Please contact support@ondato.com you don’t have one. |
Access token | string | YES | Described in the Authentication part |
Request body
Field | Description |
---|---|
| Driver license issuing country. Supported countries:
|
| First name of the drivers licenses' owner. |
| Last name of the drivers licenses' owner. |
| Personal code of the drivers licenses' owner. |
| The unique number of the driver license. |