Level Marketing / Articles / Sales and analytics
Telegram bot payments: provider, payment link or Stars
Once your order bot is running, the next question is whether to take payment inside the bot too. Telegram offers three routes: an invoice through a payment provider, a link to an external payment page, and Telegram Stars. They are meant for different kinds of goods, and each has its own rules. Here is how to choose and what to check before launch.
Three routes at a glance
| Invoice via provider | Payment link | Telegram Stars | |
|---|---|---|---|
| For | Physical goods and services | Anything, if the provider has a ready payment page | Digital goods and services |
| Where the customer pays | In Telegram's payment window | On the provider's page (browser) | Inside Telegram, in Stars |
| How the bot learns about payment | An automatic message arrives | Needs a separate provider integration | An automatic message arrives |
| Currency | Soums and other currencies | Depends on the provider | Stars only (XTR) |
| Contract with | The payment provider | The payment provider | Telegram's rules |
The core rule: physical goods (food, clothing, furniture) and offline services go through a provider or a link. Digital goods (course recordings, e-books, subscriptions) go through Stars.
How the Bot Payments API works
According to Telegram's Bot Payments documentation, the process is:
- In BotFather, pick your bot → "Bot Settings" → "Payments" and choose a provider from the list. Once connected, BotFather gives you a provider token.
- The bot sends the customer an invoice (for developers: the sendInvoice or createInvoiceLink methods). The invoice has a title, description, price and, if needed, a request for a shipping address.
- When the customer taps "Pay", the bot receives a pre-checkout query and must answer within 10 seconds, or the transaction is cancelled. This is when you check that the item is still in stock and the price hasn't changed.
- If payment succeeds, the bot receives a successful_payment message. Only then is the order marked as paid.
A key detail for your developer: amounts are passed in the smallest currency unit. In Telegram's currency list the soum has two decimal places, so 50,000 soums is sent as 5,000,000. The same list gives a minimum and maximum amount per currency — per the documentation, roughly the equivalent of US$1 to US$10,000, moving with exchange rates.
How to create a bot is covered in how to create a Telegram bot, and the order flow in Telegram order bot.
Providers in Uzbekistan
Telegram's official @BotNews channel announced the CLICK provider: in BotFather → Edit Bot → Payments you can select "CLICK Uzbekistan". Check the list in BotFather for other local providers — it changes over time.
Connecting a provider usually requires a merchant agreement with it: company or sole-trader details, a bank account and so on. Ask the provider for exact requirements and fees.
Test mode: Telegram's documentation names a "Stripe TEST MODE" provider for testing — it doesn't charge real cards and lets you run through the flow. Before working with a local provider, find out whether it offers a test environment.
Telegram Stars: digital goods only
The Stars payments documentation is explicit: sales of digital goods and services must be made in Telegram Stars, currency code XTR. If you sell digital goods for another currency or through a third-party provider, Telegram may not show your bot or Mini App to users of its mobile apps.
Mandatory requirements with Stars:
- The bot must respond to the "/paysupport" command for payment questions.
- Users must read and agree to your terms before buying (for example via a "/terms" command).
- Refunds go through a dedicated method, and resolving disputes is entirely the seller's responsibility.
The conditions for converting Stars into money are set by Telegram's rules and do change — check the current rules before you set prices.
What counts as "digital"? A practical rule: if after paying the customer only receives something on a screen (a video course, a PDF, access to a private channel), it's digital. If you need a courier, an office or a room (food, an in-person class, a clinic appointment), it's a physical good or service. When in doubt, read Telegram's rules.
Payment links: simple, with one condition
Many businesses send a link to the provider's payment page. The upside: fast to launch, little developer time. The downside: the bot doesn't know the payment happened. Unless an automatic notification (webhook) from the provider is set up, an operator checks every payment by hand — and that's where errors and delays creep in.
So the rule is: if you use links, have the provider send payment notifications to your system (bot or CRM). Payment data should land in the CRM together with the order — on choosing one, see what a CRM is and which one suits a small business.
Receipts and documents
The confirmation shown after Telegram's payment window is not a fiscal receipt. How receipts must be issued for online payments depends on tax rules. Clarify this with your provider and accountant, and check current requirements at soliq.uz.
Telegram itself doesn't handle complaints, chargebacks or refunds — per the Bot Payments documentation, that's between the bot owner, the provider and the bank. So the bot needs a clear support channel.
Pre-launch checklist
| Check | Yes/No |
|---|---|
| Type of goods decided: physical (provider) or digital (Stars) | |
| Provider agreement signed, token obtained in BotFather | |
| At least 5 test payments run, including a cancelled one | |
| Pre-checkout answers within 10 seconds and checks stock | |
| An order becomes "paid" only after successful_payment | |
| Terms (/terms) and support (/support or /paysupport) commands work | |
| Refund procedure written down and known to operators | |
| Fiscal receipt question agreed with the accountant | |
| Payment data reaches the CRM with a source tag |
Worked example: does prepayment pay off?
Illustrative example. An online clothing shop in Tashkent gets 400 orders a month with an average order of 280,000 soums. Today everything is cash on delivery, and 9% of customers refuse at the door: 36 wasted deliveries. Each one costs 30,000 soums in courier fees — 1,080,000 soums a month.
The shop adds online payment to the bot. Assumption: 45% of customers (180) prepay, and refusals among them fall to 1%.
| Metric | Before | After |
|---|---|---|
| Prepaid orders | 0 | 180 |
| Refusals | 36 | 2 + 20 = 22 |
| Courier losses | 1,080,000 soums | 660,000 soums |
| Savings | — | 420,000 soums |
| Provider fee (illustrative 1%) | — | 504,000 soums |
The result is surprising: online payment on every order doesn't pay off for this shop — the fee exceeds the savings. But the conclusion isn't "skip payments"; it's to require prepayment where it pays: for example, mandatory for orders over 1 million soums, distant zones and made-to-order items, optional elsewhere. Get the exact fee from your provider and redo the maths with your own numbers.
More on online-store economics in online store marketing.
Common mistakes
- Confirming payment from a screenshot. Fake screenshots are the most common fraud. Confirmation comes only from the system.
- Selling a digital course by card. This goes against Telegram's rules and can affect how the bot is shown.
- No stock check at pre-checkout. The customer pays and then hears the item is sold out.
- No refund procedure. The customer doesn't know whom to contact to get money back.
- Not testing the switch from test to live. Tokens don't get replaced and the first real payment fails.
Questions and answers
Can I accept transfers to a personal card?
That's not a Telegram payment but an ordinary bank transfer. It can't be verified automatically and raises tax and accounting questions. Talk to your accountant and prefer an official merchant account.
Can I sell a seat on an in-person course for Stars?
Stars are meant for digital goods and services. An in-person class is a service in the physical world, so sell it through a provider or a payment link. A recording of the course, however, can be sold for Stars.
What if a customer wants to cancel a payment?
For provider payments, refunds go through the provider's system; for Stars payments, the Bot API has a separate refund method. Either way, your refund rules should be written into your terms.
Do payments work differently in a Mini App?
The logic is the same: physical goods — provider, digital — Stars. Only the interface differs. More in Telegram Mini Apps for business.
Conclusion
Payment in a bot isn't a button; it's a set of rules: the type of goods decides the route, an order counts as paid only after the system confirms it, and receipts and refunds are settled in advance. Require prepayment where it pays off, not everywhere. If you want to see where your bot and ad sales are losing money, book a free audit with Level Marketing.