> For the complete documentation index, see [llms.txt](https://docs.npck.kz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.npck.kz/open-banking/poluchenie-informacii-o-bankovskikh-schetakh-klienta-pilotnyi-proekt/rekomendacii-po-realizacii-integracii-dlya-postavshika-api/nastroika-api.md).

# Настройка API

Перед запуском автоматических тестов необходимо убедиться, что параметры API настроены корректно. Настройки API предназначены для ввода информаций об API и конфигурирования публикуемых API.

<figure><img src="/files/lorVoSIwYUp78nb7Xqlq" alt=""><figcaption><p>Главная страница Портала НПК</p></figcaption></figure>

Для настройки API авторизованному пользователю, подключившемуся к Open Banking необходимо перейти в раздел <Услуги>, во вкладку <Мои API>, кнопка <Настройки API>.

<figure><img src="/files/Zurer2fsktWudGSNpg3u" alt=""><figcaption><p>Мои API</p></figcaption></figure>

Для того, чтобы заполнить информацию об API необходимо заполнить данные:

<figure><img src="/files/7A2qDcAtYJQrtmJw1nlt" alt=""><figcaption><p>Данные для песочницы</p></figcaption></figure>

{% hint style="info" %}
Срок действия токена — **1 год.**
{% endhint %}

Ввести URL-адрес, по которому будут доступны публикуемые API.

<figure><img src="/files/DKGTTuG0YMC0DXjlbVx9" alt=""><figcaption><p>Основная информация о поставщике</p></figcaption></figure>

Затем заполнить основную информацию о поставщике, после чего необходимо нажать на кнопку <Перейти к публикации API>.

{% hint style="info" %}
Для взаимодействия с Межбанковской системой переводов и платежей необходимо при настройке API импортировать публичную часть ключа  (как получить - см подраздел[ ](/testovoe-okruzhenie-msmp/1.-nastroika-podklyucheniya-k-mezhbankovskoi-sisteme-mobilnykh-platezhei/1.2-provedenie-rabot-po-poluchennomu-klyuchu.md)[1.2 Проведение работ по полученному ключу](/testovoe-okruzhenie-msmp/1.-nastroika-podklyucheniya-k-mezhbankovskoi-sisteme-mobilnykh-platezhei/1.2-provedenie-rabot-po-poluchennomu-klyuchu.md)).
{% endhint %}

В данной вкладке отображается токен доступа, который используется для доступа к служебным сервисам Open API.

Если необходимо перегенерировать токен доступа (JWT), то необходимо нажать кнопку <Сгенерировать новый токен> - новый токен будет сохранен автоматический (без необходимости нажатия кнопки <Сохранить>)

{% hint style="warning" %}
**Токен доступа (JWT) должен сохраняться в тайне и не передаваться в публичный доступ, должен храниться на серверной стороне приложения, и вся обработка, связанная с ним, должна производиться на серверной стороне приложения.**
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.npck.kz/open-banking/poluchenie-informacii-o-bankovskikh-schetakh-klienta-pilotnyi-proekt/rekomendacii-po-realizacii-integracii-dlya-postavshika-api/nastroika-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
