Crypto payments in a Telegram bot

Your bot creates a payment via the API and sends the user a payment link. Once the funds arrive, your server receives a webhook and the bot delivers the product or access.

Sign-up is open, no monthly fee.

One payment link

paymentUrl opens in Telegram’s browser, so the customer isn’t away from the messenger for long.

TON and USDT

Telegram wallet, TRC-20 and other networks — the customer chooses.

A bot for the owner

Balance, payments, invoices and payouts with 2FA — in a separate Moonvex bot.

The bot flow is simple: the user taps “Buy”, the bot calls POST /v1/payments with orderId = user and product id, and sends a button with paymentUrl. The payment.confirmed webhook is the signal to grant access or deliver a key or file.

For subscriptions (a VIP channel, monthly access) use the API’s plans and subscriptions: Moonvex issues the next invoice itself and sends you an event.

One request to create a payment

The response contains the address, the exact amount and a link to a ready-made payment page. Status updates arrive via HMAC-signed webhooks.

curl https://api.moonvex.org/v1/payments \
  -H "Authorization: Bearer $MOONVEX_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"orderId":"1001","amount":"10","currency":"USDT","network":"TON"}'

How to get started

  1. 1

    Sign up

    Email and password — your project is created right away. Confirm your email and turn on 2FA.

  2. 2

    API key or manual invoices

    Create a key and a webhook under “Integration”, or issue invoices from the dashboard and the Telegram bot with no code.

  3. 3

    Get paid

    Your customer pays on the payment page, you get notified, and the funds land on your project balance.

FAQ

Do I need a website to accept payments in a bot?

No. You only need the bot’s server, which receives webhooks over https.

Can I do it without coding?

Yes: issue invoices in the Moonvex Telegram bot and forward the link to your customer.

Which network should I offer by default?

For the CIS, USDT TRC-20; for Telegram wallet users, TON or USDT on TON.

By coin and network

See also

Start accepting payments today

An account and your first project in a minute, no monthly fee.

Create account