Skip to content

CryptoPay Setup

CryptoPay enables cryptocurrency payments (Bitcoin, Ethereum, USDT, and more) directly through Telegram.

  • Bitcoin (BTC)
  • Ethereum (ETH)
  • TON Coin (TON)
  • USDT (Tether)
  • Plus 10+ other altcoins
  • Telegram account
  • CryptoPay merchant account
  • Generated API token
  1. Create CryptoPay Account

    • Open @CryptoBot on Telegram
    • Start the bot
    • Go to “Merchant” section
    • Accept terms
  2. Generate API Token

    • In CryptoPay merchant panel
    • Navigate to “API Settings”
    • Create new API token
    • Copy the token
  3. Configure Environment

    Terminal window
    CRYPTO_PAY_ENABLED=true
    CRYPTO_PAY_TOKEN=your_token_here
    CRYPTO_PAY_URL=https://pay.crypt.bot
  4. Restart Bot

    Terminal window
    docker compose down && docker compose up -d
  5. Test Payment

    • Send /start to bot
    • Select subscription
    • Choose CryptoPay
    • Complete test transaction
VariableDescription
CRYPTO_PAY_ENABLEDEnable/disable CryptoPay
CRYPTO_PAY_TOKENYour API token
CRYPTO_PAY_URLAPI endpoint
  • CryptoPay Help: @CryptoBot
  • API Documentation: Available in merchant panel
  • Community: Telegram crypto communities