# Получение справочника банков-участников СБП (API)

Для создания выплаты по методу СБП потребуется указать в [запросе](https://help.unitpay.ru/payouts/create_payout) идентификатор банка-участника СБП. Получить идентификатор можно с помощью этого API запроса:&#x20;

```json
GET https://unitpay.ru/api

method            = getSbpBankList
params[login]     = email аккаунта
params[secretKey] = секретный ключ аккаунта
```

**Обязательные параметры:**

<table><thead><tr><th width="149.888916015625"> Имя</th><th width="166">Значение</th><th>Описание</th></tr></thead><tbody><tr><td><strong>login</strong></td><td>строка</td><td>Ваш Email в системе UnitPay</td></tr><tr><td><strong>secretKey</strong></td><td>строка</td><td>Секретный ключ партнера, доступен в настройках вашего  <strong>профиля</strong></td></tr></tbody></table>

**Пример успешного ответа:**

```json
{
    "result": [
        {
            "member_id": "100000000001",
            "name": "Газпромбанк",
            "name_en": "Gazprombank"
        },
        {
            "member_id": "100000000002",
            "name": "Золотая Корона (РНКО Платежный Центр)",
            "name_en": "Korona Pay (Credit Union Payment Center)"
        }
    ]
}
```

**Пример ошибочного ответа:**&#x20;

```json
{
    "error": {
        "message": "Неверные параметры авторизации",
        "code": -32000
    }
}
```

<table><thead><tr><th width="127"> Имя</th><th width="620.3333740234375">Описание</th></tr></thead><tbody><tr><td>3200</td><td>Неверные параметры авторизации. Проверьте корректность указываемых данных</td></tr></tbody></table>


---

# 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://help.unitpay.ru/payouts/poluchenie-spravochnika-bankov-uchastnikov-sbp-api.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.
