> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dojah.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Age/Identity Verification

> Verify end users age or personal information through BVN, account numbers etc.

Age Identity and Verification allows you to confirm and ascertain information summitted by your end users.

With this endpoint, Dojah can help you verify first name, middle name by simply adding it to the request body

Information Required; Phone Number OR Account Number OR BVN

### Request

```http [GET] theme={null}
{{baseUrl}}/api/v1/kyc/age_verification
```

### Query parameter

| Parameter       | Type     | Description                                 | Required |
| --------------- | -------- | ------------------------------------------- | -------- |
| mode *required* | *string* | *phone\_number* ,*account\_number* or *bvn* | required |
| strict          | *bool*   | default is *false*                          | optional |
| first\_name     | *string* | First name                                  | required |
| last\_name      | *string* | Last name                                   | required |
| dob             | *string* | Date of Birth in YYYY-MM-DD format          | optional |
| bvn             | *string* | Include BVN if mode is selected             | required |
| account\_number | *string* | Include if account\_number mode is selected | optional |
| bank\_code      | *string* | Include if account\_number mode is selected | optional |
| phone\_number   | *string* | Include if phone\_number mode is selected   | optional |

### Response

```json Response theme={null}
{
  "entity": {
    "first_name": "JOHN",
    "last_name": "MUSA",
    "date_of_birth": "1993-06-10",
    "verification": true
  }
}
```

### Response Fields

| Field                  | Type    | Description                                                                                            |
| ---------------------- | ------- | ------------------------------------------------------------------------------------------------------ |
| entity                 | object  | Contains the age/identity verification response data                                                   |
| entity.first\_name     | string  | First name of the verified individual                                                                  |
| entity.last\_name      | string  | Last name of the verified individual                                                                   |
| entity.date\_of\_birth | string  | Date of birth of the individual (YYYY-MM-DD)                                                           |
| entity.verification    | boolean | Whether the submitted identity information matches the records (`true` if verified, `false` otherwise) |
