This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BNGame Integration Service Backend | |
Этот проект представляет собой сервер-посредник на Node.js и Express для интеграции с платежной системой Hype Payments, а также возможности работы с пользователями и товарами. Он предоставляет API для инициации платежей, получения их статуса и обработки вебхуков от платежной системы и для работы с учётными записами пользователей и приобретения товаров, а тажке подтверждения по email и инвойсы. | |
## Основные возможности | |
- Инициация платежей через Hype Payments API (`sale-form`). | |
- Обработка входящих вебхуков для отслеживания статуса платежа (`APPROVED`, `DECLINED` и т.д.). | |
- Запрос статуса платежа по его ID. | |
- Поддержка запуска по HTTP и HTTPS (с использованием локальных SSL-сертификатов). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sale-form | |
post | |
https://test.hypepayments.com/api | |
/payments/sale-form/{requestorId} | |
Description for method sale-form | |
Request | |
Provide your bearer token in the Authorization header when making requests to protected resources. | |
Example: Authorization: Bearer 123 |