# Получение пользователя

## Данные пользователя

> Данные пользователя, включая список заказов.<br>

```json
{"openapi":"3.0.3","info":{"title":"Client API","version":"4.0.0 preview"},"servers":[{"url":"https://v4.dev.proxy-solutions.net/api"}],"security":[{"api-key":[]}],"components":{"securitySchemes":{},"parameters":{"lang":{"name":"lang","description":"Код языка","in":"query","required":false,"schema":{"type":"string","enum":["EN","RU","UA"],"default":"EN"}},"currency":{"name":"currency","description":"Код валюты","in":"query","required":false,"schema":{"type":"string","enum":["USD","EUR","RUB","UAH","KZT"],"default":"USD"}}},"schemas":{"UserProfile":{"type":"object","properties":{"id":{"type":"integer"},"login":{"type":"string","description":"Сейчас дублирует email"},"email":{"type":"string","format":"email"},"telegram":{"type":"string"},"access_code":{"type":"string","description":"Код доступа"},"api_key":{"type":"string","description":"API ключ для клиентского апи"},"api_ip_whitelist":{"type":"array","description":"Белый список ip адресов для доступа к клиентскому api","items":{"type":"string"}},"balance":{"type":"number","description":"Баланс ползователя во внутренней ваюте (USD)"}}}}},"paths":{"/user":{"get":{"summary":"Данные пользователя","tags":["Пользователь"],"description":"Данные пользователя, включая список заказов.\n","parameters":[{"$ref":"#/components/parameters/lang"},{"$ref":"#/components/parameters/currency"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"lang":{"type":"string"},"currency":{"type":"string"},"user":{"$ref":"#/components/schemas/UserProfile"}}}}}},"401":{"description":"Unauthorized"}}}}}}
```
