Issue Token
Token is a unique access key that allows the use T-API methods.
With the T‑API H2H integration, you can issue an Access Token—it is only needed for H2H integration. The token is valid for 90 days from the last use and permanent if used continuously.
To use secure methods , issue an mTLS certificate.
Issue
In your personal account, select Интеграции (Integrations) and on the T‑API tab click Выпуск токена (Issue token).
Enter the IP addresses of all computers from which you will use the token. If you're working from different computers and have more than one IP address, enter them separated by commas.
IP addresses requirements:
- IP address is static;
- IPv4 and IPv6 protocols are supported;
- you can't specify IP addresses range;
- you can specify a maximum of 9 IP addresses.
You can disable IP addresses checks. To do this, send a request at openapi@tbank.ru. After disabling the check, enter any IP in the form, for example 0.0.0.0.0 or 1.1.1.1.1.
In the Выберите, к чему будет доступ через API (Select what will be accessed via API) block, select the operations you want to give access to.
Click Выпустить токен (Issue token) and copy it.
Once you've done that, you can use the token to connect your services to T‑Bank.
You can't edit the token. To change the IP address or accesses, issue a new token.
Accesses
You need access to use T‑API methods. There is an access template in the each method description.
Example
To use the Выполнить платеж (Make a payment) method, select the opensme/inn/[{inn}]/kpp/[{kpp}]/payments/rub-pay — Совершение платежей с рублевого расчетного счета компании с ИНН {inn} и КПП {kpp}
access in your personal account.
To get or change access, reissue the token in your personal account.
How to give your employees access to your personal account
Token Revocation
In your personal account, go to Мой профиль (My profile) section.
On the Безопасность (Security) tab click Настроить (Setup).
In the Приложения, у которых есть доступ к данным для входа (Apps that have access to login data) block, select the token you want to delete and click Удалить доступ (Delete access).