# Получение информации о пользователе

Запрос на получение данных об аккаунте мерчанта.

<kbd><mark style="color:blue;">GET<mark style="color:blue;"></kbd> [<mark style="color:$primary;">https://app.goodpayments.io/v1/api/merchant</mark>](https://app.goodpayments.io/v1/api/merchant)

### Заголовки

| Имя             | Тип    | Описание                     | Пример                                                           |
| --------------- | ------ | ---------------------------- | ---------------------------------------------------------------- |
| Authorization\* | string | Уникальный API-ключ мерчанта | 94a48138b1f41b9cdb3e12c2ff0c7cbe1c7a5f50a311a5054b903cad84215662 |

### Тело запроса

Данный запрос не предполагает передачу параметров в теле.

### Пример запроса

```yaml
curl -X 'GET' \
  'https://app.goodpayments.io/v1/api/merchant' \
  -H 'accept: application/json' \
  -H 'Authorization: 94a48138b1f41b9cdb3e12c2ff0c7cbe1c7a5f50a311a5054b903cad84215662'
```

### Ответ

<table><thead><tr><th>Имя</th><th width="125.32177734375">Тип</th><th>Описание</th><th>Пример</th></tr></thead><tbody><tr><td>email</td><td>string</td><td>Электронная почта, указанная при регистрации аккаунта</td><td>example@gmail.com</td></tr><tr><td>balance</td><td>number</td><td>Баланс мерчанта для оплаты комиссии за использование сервиса (в TRX)</td><td>771.011200337155</td></tr><tr><td>target_wallet_address</td><td>string</td><td>Адрес, куда пересылаются входящие платежи по инвойсам</td><td>TQ7yFpVJh1zdQRVkBmi5EbtoTunkURNwst</td></tr><tr><td>topup_wallet_address</td><td>string</td><td>Адрес пополнения баланса для оплаты комиссии за использование сервиса</td><td>TEhxXuomfC57nX7ohdiRHVm6DF5Ram6YAr</td></tr><tr><td>activation_wallet_address</td><td>string</td><td>Адрес пополнения баланса для активаций</td><td>TSsixXatTUkAn8LsfRQdjwk3dUDQD2PD2u</td></tr><tr><td>activation_balance</td><td>number</td><td>Баланс адреса активаций (в TRX)</td><td>4524.233396065855</td></tr><tr><td>aml_check</td><td>boolean</td><td>Флаг активации / деактивации функции AML проверок</td><td>true</td></tr><tr><td>aml_risk_limit</td><td>integer</td><td>Установленный порог риска</td><td>50.04</td></tr></tbody></table>

### Пример ответа

{% tabs %}
{% tab title="200 Success" %}

```json
{
  "email": "example@gmail.com",
  "balance": 771.011200337155,
  "target_wallet_address": "TQ7yFpVJh1zdQRVkBmi5EbtoTunkURNwst",
  "topup_wallet_address": "TEhxXuomfC57nX7ohdiRHVm6DF5Ram6YAr",
  "activation_wallet_address": "TSsixXatTUkAn8LsfRQdjwk3dUDQD2PD2u",
  "activation_balance": 4524.233396065855,
  "aml_check": true,
  "aml_risk_limit": 50.04
}
```

{% endtab %}

{% tab title="403 Authentication credentials were not provided" %}

```json
{
  "detail": "Authentication credentials were not provided."
}
```

{% endtab %}
{% endtabs %}

### Возможные ошибки

Если заголовок с корректным API-ключом отсутствует или ключ недействителен, сервер возвращает ответ с кодом **403**.

\ <br>


---

# 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://goodpayments.gitbook.io/docs/documentation/ru/api-dokumentaciya/opisanie-metodov-vzaimodeistviya-struktura-zaprosa-otveta/poluchenie-informacii-o-polzovatele.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.
