# Drivers License

{% hint style="info" %}
TEST DATA

number: 12345678909

dob: 1999-11-13
{% endhint %}

<mark style="color:green;">`POST`</mark> `{{BASE_URL}}/api/v2/biometrics/merchant/data/verification/gh/drivers_license`

Verify a drivers license

#### Headers

| Name                                        | Type   | Description     |
| ------------------------------------------- | ------ | --------------- |
| x-api-key<mark style="color:red;">\*</mark> | String | your secret key |
| app-id<mark style="color:red;">\*</mark>    | String | your app id     |

#### Request Body

| Name                                     | Type   | Description   |
| ---------------------------------------- | ------ | ------------- |
| dob<mark style="color:red;">\*</mark>    | Date   | \[yyyy-MM-dd] |
| number<mark style="color:red;">\*</mark> | String | License No    |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{ 
    "status": true, 
    "response_code": "00", 
    "message": "Drivers License Information retrieved", 
    "data": { 
        "Name": "", 
        "DateOfBirth": "", 
        "ProcessingCenter": "", 
        "ClassOfLicence": "", 
        "Nationality": "", 
        "DateOfIssue": "", 
        "ExpiryDate": "", 
        "CertificateDate": "", 
        "CertificateOfCompetence": "", 
        "DriverImage":"base64Image",
        "PIN": "",
     },
    "verification": {
        "status": "",
        "reference": ""
    }
 }
        
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.myidentitypass.com/products/data-verification/ghana/drivers-license.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
