Authorizing

First, you need to create a new merchant and get API token. Open @AitherColBot (@AitherColWalletTestBot for testnet), go to AitherCol Pay 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: @AitherColWalletTestBot

URL: https://test-api.aithercol.com

Mainnet:

Bot: @AitherColBot

URL: https://api.aithercol.com

Last updated