Telegram Bot Payments are a free and open platform that allows sellers to accept payments for goods and services from Telegram users. Telegram doesn't collect payment information and takes no commission.
Note: This article is intended for bot developers and store owners. If you're looking for a general overview of Telegram Payments, check out the Telegram blog.
If you are new to Telegram bots and would like to learn how to create and set up a bot, please consult our Introduction to Bots and Bot FAQ.
Payments 2.0 were added in April 2021 with Bot API v.5.2. New features:
@ShopBot ...in any chat for an inline invoice.
Users need to update to Telegram 7.7 or higher to use Payments 2.0 (for Telegram Desktop, 2.7.2 or higher). Older mobile apps released after May 2017 support basic payments in chats with bots.
You create a bot that offers goods and services to Telegram users. Merchant bots can send specially formatted invoice messages to users, groups or channels. If your bot supports inline mode, users can also send invoices to other chats via the bot, including to one-on-one chats with other users.
Invoice messages feature a photo and description of the product along with a prominent Pay button. Tapping this button opens a special payment interface in the Telegram app. In this interface, users can choose a tip amount (if allowed by the merchant) and enter additional details like shipping info, phone number, or email address.
The bot can offer several shipping options for physical goods based on the delivery address. When ready, users enter their credit card info or choose a saved card — and pay for the product. Telegram also supports Apple Pay and Google Pay. Once the transaction is done, the merchant bot can send a receipt message with payment details, shipping and delivery information.
Detailed information and step-by-step instructions are available below.
Telegram does not process payments from users and instead relies on different payment providers around the world. It is the payment providers that handle and store all sensitive information, like credit card details. Neither Telegram nor the bot developers have access to it.
For the moment we support payments from more than 200 countries via the following payment providers:
We continue expanding this list, follow @BotNews for updates.
If you work for a company that provides services similar to standalone accounts in Stripe Connect, please let us know via @BotSupport (include the hashtag
#paymentsproviderin your message).
This section explores payments via Telegram's Bot API in more detail.
To start accepting payments, you need a Telegram bot. Use BotFather to create a bot if you don't have one already.
Now you have a merchant bot that can offer goods or services to Telegram users. Let's call it
@merchantbot in this document. The first stop is to choose and connect a payment provider, you can find the list of supported providers above.
/mybotscommand in the chat with BotFather and choose the
@merchantbotthat will be offering goods or services.
You will find the necessary methods for building your payment implementation in the Payments Section of the Bot API Manual.
While you're still developing and testing payments for your bot, use the “Stripe TEST MODE” provider. When in this mode, you can make payments without actually billing any accounts. Real cards can't be used in test mode, but you can use test cards like
4242 4242 4242 4242 (full list here). You can switch between test mode and live mode as many times as you want, but please see the live checklist before you go live.
See Bot API: Payments for the complete list of available methods and objects.
The user contacts
@merchantbot and requests to purchase something. The bot forms an invoice message with a description of the goods or service, amount to be paid, and requested shipping info. There are two ways of creating an invoice:
Use the sendInvoice method to generate an invoice and send it to a chat. The provider_token parameter is where you put the token value that you've obtained earlier via Botfather. It is possible for one merchant bot to use several different tokens for different users or different goods and services.
As of Payments 2.0, invoice messages with a pay button can be sent to chats of any type: private chats with the user, groups, or channels. The resulting invoice message will look like this:
@merchantbot supports inline mode, you can use inputInvoiceMessageContent to allow users to share invoices for your goods and services to their one-on-one chats with friends, or to their groups and channels. These invoices will have a Pay button that can be used multiple times.
As of Payments 2.0 there are two ways for handling forwarded copies of your invoices, controlled by the parameter start_parameter in the sendInvoice method.
If a single-chat invoice is sent to the chat with
@merchantbot, it can only be paid once. If a single-chat invoice is sent to any other chat, it can be paid many times by many users.
To get a better understanding of how this works, try toggling the “Pay from Forwards” parameter when creating invoices with our demo @ShopBot.
Regardless of whether or not the Pay button is available in an invoice, the merchant bot always has the power to decide whether or not to accept new payments for a particular invoice.
If the max_tip_amount parameter is set to above
0, users can add a tip to their payment. You can use the parameter suggested_tip_amounts to suggest particular amounts that you feel will be relevant for the invoice.
The user specifies shipping information or other info requested by the bot. This could be the user's full name, an email address, a phone number in international format, or a full postal address for delivery.
If a shipping address was requested and you included the parameter is_flexible, the Bot API will send an Update with a shipping_query field to the bot. The bot must respond using answerShippingQuery either with a list of possible delivery options and the relevant delivery prices, or with an error (for example, if delivery to the specified address is not possible).
Tip: It is recommended that the merchant bot confirms availability of the goods/services at this step – to let the user know in case they are no longer available. This is especially important if you are using multi-chat, inline or single-chat, multi-use invoices.
The user selects a delivery option from the list (the overall amount to be paid may change at this point) and proceeds to checkout.
The user enters their payment information and presses the final pay button. At this moment the Bot API sends an Update with the field pre_checkout_query to the bot that contains all the available information about the order. Your bot must reply using answerPrecheckoutQuery within 10 seconds after receiving this update or the transaction is canceled.
The bot may return an error if it can't process the order for any reason. We highly recommend specifying a reason for failure to complete the order in human readable form (e.g. "Sorry, we're all out of rubber ducks! Would you be interested in a cast iron bear instead?"). Telegram will display this reason to the user.
Warning: As of Payments 2.0, it is critical to make sure your bot only accepts multiple payments when the order can be processed correctly. This is especially important if you are using multi-chat, inline or single-chat, multi-use invoices.
In case the bot confirms the order, Telegram requests the payment provider to complete the transaction. If the payment information was entered correctly and the payment goes through, the API will send a receipt message of the type successful_payment from the user. Once your bot receives this message, it should proceed with delivering the goods or services purchased by the user.
If the invoice message was sent in the chat with
@merchantbot, it becomes a Receipt in the UI for the user — they can open this receipt at any time and see all the details of the transaction:
If the message was sent to any other chat, the Pay button remains and can be used again. It is up to the merchant bot whether to actually accept multiple payments.
Once you've tested everything and confirmed that your payments implementation works, you're ready to switch to LIVE MODE. To do this, go to BotFather > /mybots > select
@merchantbot > Bot Settings / Payments and enable Stripe LIVE MODE. You will get a token that has the string
:LIVE: in the middle, e.g.
123:LIVE:XXXX. Do not give this token to any third parties!
Before your merchant bot goes into live mode, please ensure the following:
If you work for a company that provides services similar to standalone accounts in Stripe Connect, please let us know via @BotSupport (kindly include the hashtag
#paymentsprovider in your message).
Telegram does not charge any commission for using the Payments API. Note though, that most payment providers will have their own commissions. For example, Stripe in the US charges 2.9% + 30¢ per successful card charge (see the Stripe website for more details on pricing).
Yes. If you are not a developer, you will need to either hire someone to make a bot for you (recommended), or use a bot created by a third-party company. We advise extreme caution when using services of bots that process payments for you – Telegram doesn't maintain any such bots and doesn't endorse any of the third-party bots offering these services.
Telegram does not impose any limits on what products or services your bot can offer. But please note that you must comply with the rules of the payments provider you choose in our system. E.g., Stripe has a special page for prohibited businesses – you may want to consult that one before you start selling harvested organs.
Special Note: Due to Apple's limitations, bot developers are currently not allowed to accept payments for digital goods and virtual services from iOS users.
Telegram acts as a messenger between the paying user, the bot developer, and their chosen payment system. The user sends their credit card details directly to the payment system. Then the payment system's response and the shipping details entered by the user are passed to the bot developer so that they can process the order.
Since Telegram doesn‘t process the payments, we don’t store and can‘t access any sensitive data. Due to this structure, it is impossible for Telegram to handle complaints or cashbacks – any disputed payments are the responsibility of the bot developers, payment providers, and banks that participated in the exchange.
You are welcome to study the MTProto payment documentation.
Telegram payments currently support the currencies listed below (here's a JSON version in case you need it).
If you're using Stripe as the payments provider, supported currencies may vary depending on the country you have specified in your Stripe account (more info).
The minimum and maximum amounts for each of the currencies roughly correspond to the limit of
US$ 1-10000. The amount must be expressed in 12 digits or less, so the maximum value will be correspondingly lower for some lower-value currencies. Note that for each currency except USD these limits depend on exchange rates and may change over time (plan ahead for this when you implement limits in your code).
|Code||Title||Min amount||Max amount|
|AED||United Arab Emirates Dirham||AED 3.67||AED 36,724.98|
|AMD||Armenian Dram||388.52 AMD||3,885,296.65 AMD|
|ARS||Argentine Peso||ARS 207,39||ARS 2.073.923,89|
|AZN||Azerbaijani Manat||1,69 AZN||16 993,99 AZN|
|BAM||Bosnia & Herzegovina Convertible Mark||1,81 BAM||18.156,33 BAM|
|BDT||Bangladeshi Taka||BDT 105.05||BDT 1,050,501.30|
|BGN||Bulgarian Lev||1,80 BGN||18 071,28 BGN|
|BOB||Bolivian Boliviano||BOB 6,90||BOB 69.074,03|
|BRL||Brazilian Real||R$ 5,19||R$ 51.958,03|
|BYN||Belarusian ruble||2,52 BYN||25 231,26 BYN|
|CHF||Swiss Franc||0.91 CHF||9'168.10 CHF|
|CLP||Chilean Peso||CLP 806||CLP 8.062.398|
|CNY||Chinese Renminbi Yuan||CN¥6.88||CN¥68,855.95|
|COP||Colombian Peso||COP 4.677,00||COP 46.770.000,00|
|CRC||Costa Rican Colón||CRC540,92||CRC5.409.244,08|
|CZK||Czech Koruna||21,95 CZK||219 526,94 CZK|
|DKK||Danish Krone||6,88 DKK||68840,30 DKK|
|DZD||Algerian Dinar||DZD 135.76||DZD 1,357,680.16|
|EGP||Egyptian Pound||EGP 30.90||EGP 309,001.99|
|EUR||Euro||0,92 €||9 239,40 €|
|GEL||Georgian Lari||2,57 GEL||25 749,62 GEL|
|HKD||Hong Kong Dollar||HK$7.84||HK$78,499.50|
|HNL||Honduran Lempira||HNL 24.65||HNL 246,500.32|
|HRK||Croatian Kuna||7,01 HRK||70.182,74 HRK|
|HUF||Hungarian Forint||355,50 HUF||3 555 005,00 HUF|
|ILS||Israeli New Sheqel||₪ 3.56||₪ 35,607.70|
|ISK||Icelandic Króna||137 ISK||1.375.901 ISK|
|KGS||Kyrgyzstani Som||87-41 KGS||874 197-62 KGS|
|KRW||South Korean Won||₩1,299||₩12,991,696|
|KZT||Kazakhstani Tenge||KZT457-52||KZT4 575 274-43|
|LBP||Lebanese Pound||LBP 15,260.00||LBP 152,600,002.88|
|LKR||Sri Lankan Rupee||LKR 324.89||LKR 3,248,948.67|
|MAD||Moroccan Dirham||MAD 10.26||MAD 102,624.98|
|MDL||Moldovan Leu||18.47 MDL||184,721.21 MDL|
|MNT||Mongolian Tögrög||MNT3 529,50||MNT35 295 059,59|
|MVR||Maldivian Rufiyaa||15.41 MVR||154,195.54 MVR|
|NIO||Nicaraguan Córdoba||NIO 36.56||NIO 365,649.53|
|NOK||Norwegian Krone||NOK 10,42||NOK 104 265,80|
|NZD||New Zealand Dollar||NZ$1.60||NZ$16,054.65|
|PAB||Panamanian Balboa||PAB 0.99||PAB 9,995.96|
|PEN||Peruvian Nuevo Sol||PEN 3.76||PEN 37,669.82|
|PLN||Polish Złoty||4,32 PLN||43 266,00 PLN|
|PYG||Paraguayan Guaraní||PYG 7.160||PYG 71.600.308|
|QAR||Qatari Riyal||QAR 3.64||QAR 36,410.25|
|RON||Romanian Leu||4,56 RON||45.695,25 RON|
|RSD||Serbian Dinar||108,40 RSD||1.084.027,09 RSD|
|RUB||Russian Ruble||80,37 RUB||803 721,94 RUB|
|SAR||Saudi Riyal||SAR 3.75||SAR 37,557.98|
|SEK||Swedish Krona||10,33 SEK||103.365,95 SEK|
|TJS||Tajikistani Somoni||10;92 TJS||109 205;51 TJS|
|TRY||Turkish Lira||19,10 TRY||191.075,10 TRY|
|TTD||Trinidad and Tobago Dollar||TTD6.79||TTD67,989.19|
|TWD||New Taiwan Dollar||NT$30.35||NT$303,513.04|
|UAH||Ukrainian Hryvnia||36,91UAH||369 165,50UAH|
|USD||United States Dollar||$1.00||$10,000.00|
|UYU||Uruguayan Peso||UYU 38,73||UYU 387.303,36|
|UZS||Uzbekistani Som||11 414,99 UZS||114 149 999,07 UZS|
|VND||Vietnamese Đồng||23.505 ₫||235.050.000 ₫|
|YER||Yemeni Rial||YER 250.30||YER 2,503,006.77|
|ZAR||South African Rand||ZAR 18.26||ZAR 182,637.05|