Authorizing

First, you need to create a new merchant and get API token. Open @AitherColBotarrow-up-right (@AitherColWalletTestBotarrow-up-right for testnet), go to AitherCol Payarrow-up-right and tap Create Merchant to get API Key.

API Key can be found in the merchant settings.

All queries to AitherCol Pay API must be served over HTTPS. API Key must be passed in the header parameter AitherCol-Pay-Token. URL must be presented in this form: https://api.aithercol.com/pay/%method%. Example request:

GET /pay/me HTTP/1.1
Host: api.aithercol.com
AitherCol-Pay-Token: 123456789:evUgZZXj9bOrrqz7AYTjk0cJFQMqEl9V

Testnet:

Bot: @AitherColWalletTestBotarrow-up-right

URL: https://test-api.aithercol.comarrow-up-right

Mainnet:

Bot: @AitherColBotarrow-up-right

URL: https://api.aithercol.comarrow-up-right

Last updated