Skip to content
Integrations

Payment: the bot takes payment right inside Telegram

The invoice appears in the chat, the customer pays in a couple of taps, and the flow moves on — no external links or websites.

In short

The "Payment" block in the Forgebot Telegram bot builder is a step where the bot issues an invoice right in the chat: with Telegram Stars or real money (via a payment provider). After a successful payment the flow automatically continues from the next step.

Free plan — no card required.

The “Payment” block’s settings panel in the editor
About the block

What the "Payment" block does

The block sends the customer an invoice right inside the bot chat — with a title, description and amount. The customer pays in a few taps without leaving Telegram. As soon as the payment goes through, the flow continues down its branch — you can say thanks, create the order or grant access.

Fields

Block settings

The block's settings panel — what to fill in:

Invoice title
What the customer sees at the top of the invoice in Telegram — for example "Order #{{order_id}}". Up to 32 characters.
Description
An explanation of the invoice: what exactly the customer is paying for. Shown under the title. Up to 255 characters.
Pay with
Telegram Stars (Telegram's built-in currency) or real money. For real currency the bot needs a payment provider connected.
Amount
How much the customer pays. For Stars — a whole number (e.g. 100). For real money — up to two decimals (e.g. 500.00). You can insert a variable {{...}} — then the amount is calculated on the server.
Save payment id
Optional: the name of the cell to store the successful payment's id for later steps — for example order_id. Written in Latin letters.
Example

Example: paying for a coffee-shop order

The customer builds a cart, and the "Payment" block shows an invoice "Order #1024" for the order total. After payment the flow thanks the customer and sends the order to the baristas' team chat.

FAQ

Frequently asked questions

What are Telegram Stars?

It's Telegram's built-in currency: the customer pays with them right in the app, without an external payment provider. Handy for digital goods and small amounts. Telegram requires a bot that sells for Stars to answer the /paysupport command: if you have no scenario for it, the bot replies to the buyer with a standard text on its own.

How do I take real money?

You connect a payment provider to the bot (get a payment token) and choose the real-currency option in the block. The customer then pays by card right inside Telegram.

What happens after payment?

The flow automatically continues from the next step — you can thank the customer, create the order or grant access. The payment id can be saved to a variable for later steps if you wish.

// Start today

Launch your Telegram bot with Forgebot

Build your first flow, reply to subscribers and watch analytics — free, no code.

Free plan: 1 bot, 5 flows, 100 subscribers. No card required.