A-PAY · guide for the external integration team Revised 20 Oct 2026

How to connect a payment system to A-PAY

The path of a new PS from the first request to connecting clients: who is involved, what you do, and when you need a response from A-PAY.

Who's involved

Clients work only with A-PAY. Your integration links A-PAY to the payment system through the A-PAY API.

Client

Accepts payments through A-PAY. Gets access to the new PS once the A-PAY Sales team connects it.

A-PAY

Creates the “Integrations” chat, provides Swagger and the API token, connects wallets, provides payment links and the test checklist.

External integration team

That's you

Fills in the PS checklist, builds the integration, connects the PS, prepares wallet instructions and runs the tests.

PS

The payment system you are connecting. It is linked to A-PAY only through your integration.

Process

Five stages, top to bottom. Your steps are on the right, A-PAY's responses on the left. Click a block to jump to its step.

Start Your step A-PAY step Decision Back to rework Result End

Steps

Step numbers match the diagram. After step 1, send all requests to A-PAY in the “Integrations” chat.

  1. 1

    Get the name of your assigned A-PAY manager

    You

    The A-PAY manager will create the “Integrations” chat and add everyone needed. From then on, it is your working channel with A-PAY.

    A-PAYCreates the “Integrations” chat
  2. 2

    Fill in the PS checklist

    You

    Describe the PS you want to integrate in the checklist.

  3. 3

    Get the Swagger link and API token

    A-PAY

    Swagger describes the A-PAY API you build the integration against. The API token is needed to connect to this API.

    A-PAYProvides the Swagger link and API token
  4. 4

    Build the integration

    You

    How to fit the PS flow into the A-PAY API is up to you. The one requirement: the integration must follow the API contract in Swagger.

  5. 5

    Connect the PS and apply its schemes

    You

    Connect the PS through the API and apply the PS schemes as described in the documentation. This is also where the wallet sync mode is set.

  6. 6

    Provide wallet connection instructions

    You

    A-PAY connects the PS wallets using these instructions. Prepare them from the template, which has five sections:

    1. General information. Whether a proxy is needed, whether p2proxy is used, integration type.
    2. Filling in API data. Wallet fields: where to get them, format, uniqueness, whether required, example.
    3. Notes. Connection specifics.
    4. Wallet connection steps. Step-by-step flow.
    5. Possible errors. Optional: error text, cause, how to fix it.
  7. 7

    Request wallet connection

    You

    Ask A-PAY to connect the wallets and send the wallet details needed for it.

    A-PAYConnects the wallets using your instructions
  8. 8

    Request payment links

    You

    You will use the links to check that the PS and all its methods work as described in the documentation.

    A-PAYProvides payment links and a checklist of recommended test scenarios
  9. 9

    Test the PS

    You

    Go through every PS method using the payment links and the test scenario checklist. If the tests fail, fix the integration and test again.

    ResultTests passed, the integration is connected to A-PAY
  10. 10

    Connecting clients

    A-PAY

    A-PAY passes the information about the new PS to the Sales team, which connects clients to it.

Documents

Step 2PS checklistYou fill it in before development starts
Step 3A-PAY API SwaggerA-PAY provides the link together with the API token
Step 6Wallet connection instructions templateProxy, API data, connection steps, errors
Step 8Test scenario checklistA-PAY provides it together with the payment links

Кто участвует

Клиент работает только с A-PAY. Ваша интеграция связывает A-PAY с платёжной системой через API A-PAY.

Клиент

Принимает платежи через A-PAY. Получает доступ к новой ПС, когда её подключит отдел продаж A-PAY.

A-PAY

Создаёт чат «Интеграции», выдаёт Swagger и API-токен, подключает кошельки, выдаёт ссылки на оплату и чек-лист тестов.

Внешняя команда интеграции

Это вы

Заполняет чек-лист о ПС, пишет интеграцию, подключает ПС, готовит инструкцию для кошельков и тестирует.

ПС

Платёжная система, которую вы подключаете. С A-PAY она связана только через вашу интеграцию.

Процесс

Пять этапов сверху вниз. Справа ваши шаги, слева ответы A-PAY. Нажмите на блок, чтобы перейти к описанию шага.

Старт Ваш шаг Шаг A-PAY Развилка Возврат на доработку Результат Конец

Шаги

Номера совпадают с номерами на схеме. Все запросы к A-PAY после первого шага отправляйте в чат «Интеграции».

  1. 1

    Получите от A-PAY имя назначенного вам менеджера

    Вы

    Менеджер A-PAY создаст чат «Интеграции» и добавит в него всех нужных лиц. Дальше это ваш рабочий канал с A-PAY.

    A-PAYСоздаёт чат «Интеграции»
  2. 2

    Заполните чек-лист о ПС

    Вы

    Опишите в чек-листе ПС, которую хотите интегрировать.

  3. 3

    Получите ссылку на Swagger и API-токен

    A-PAY

    Swagger описывает API A-PAY, по нему вы пишете интеграцию. API-токен нужен для подключения к этому API.

    A-PAYВыдаёт ссылку на Swagger и API-токен
  4. 4

    Реализуйте интеграцию

    Вы

    Как уложить флоу ПС в API A-PAY, решаете вы. Главное условие: интеграция должна соответствовать API-контракту из Swagger.

  5. 5

    Подключите ПС и примените схемы работы с ней

    Вы

    Подключите ПС через API и примените схемы работы с ПС согласно документации. Там же задаётся режим синхронизации кошельков.

  6. 6

    Предоставьте инструкцию для подключения кошельков

    Вы

    По этой инструкции A-PAY подключает кошельки ПС. Подготовьте её по шаблону, в нём пять разделов:

    1. Общая информация. Нужен ли proxy, используется ли p2proxy, тип интеграции.
    2. Заполнение API data. Поля кошелька: откуда брать, формат, уникальность, обязательность, пример.
    3. Примечания. Особенности подключения.
    4. Порядок подключения кошелька. Пошаговый флоу.
    5. Возможные ошибки. Необязательно: текст ошибки, причина, как исправить.
  7. 7

    Запросите подключение кошельков

    Вы

    Попросите A-PAY подключить кошельки и передайте для этого реквизиты.

    A-PAYПодключает кошельки по вашей инструкции
  8. 8

    Запросите ссылки на оплату

    Вы

    По ссылкам вы проверите работу ПС и всех её методов согласно документации.

    A-PAYВыдаёт ссылки на оплату и чек-лист с рекомендованными тестовыми сценариями
  9. 9

    Проверьте работу ПС

    Вы

    Пройдите все методы ПС по ссылкам на оплату, сверяясь с чек-листом тестовых сценариев. Если тесты не прошли, доработайте интеграцию и повторите проверку.

    РезультатТесты прошли успешно, интеграция подключена к A-PAY
  10. 10

    Подключение клиентов

    A-PAY

    A-PAY передаёт информацию о новой ПС в отдел продаж, и он подключает к ней клиентов.

Документы

Шаг 2Чек-лист о ПСЗаполняете вы перед стартом разработки
Шаг 3Swagger API A-PAYСсылку выдаёт A-PAY вместе с API-токеном
Шаг 6Шаблон инструкции для подключения кошельковProxy, API data, порядок подключения, ошибки
Шаг 8Чек-лист тестовых сценариевВыдаёт A-PAY вместе со ссылками на оплату