# Get User Information

GET `/api/v1/users/?email="?"`

GET `/api/v1/users/?walletAddress="?"`

Endpoint use to Get User Infomation by Email or Wallet Address.

Please use environment variable User.

## Body Params:

### Request

| Param           | Type     | Required | Explain             |
| --------------- | -------- | -------- | ------------------- |
| `email`         | `string` | Yes      | User Email Address  |
| `walletAddress` | `string` | Yes      | User Wallet Address |

### Response

| Param    | Type     | Required | Explain            |
| -------- | -------- | -------- | ------------------ |
| `status` | `string` | Yes      | Response Status    |
| `user`   | `object` | Yes      | Response User Data |

`user` :

| Param           | Type     | Required | Explain             |
| --------------- | -------- | -------- | ------------------- |
| `id`            | `string` | Yes      | User Id             |
| `email`         | `string` | Yes      | User Email          |
| `walletAddress` | `string` | Yes      | User Wallet Address |
| `kyc`           | `object` | Yes      | User KYC Infomation |

`kyc` :

| Param               | Type     | Required | Explain            |
| ------------------- | -------- | -------- | ------------------ |
| `status`            | `enum`   | Yes      | User KYC Status    |
| `firstName`         | `string` | Yes      | User First Name    |
| `lastName`          | `string` | Yes      | User Last Name     |
| `country`           | `string` | Yes      | User Country       |
| `applicantPlatform` | `string` | Yes      | Applicant Platform |
| `phone`             | `string` | Yes      | Phone Number       |

`status` :

Include: `['not_started', 'pending', 'approved', 'rejected']`
