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. This page covers payments for physical goods and services – if you’re interested in selling digital goods and services, please check out our dedicated page.
Note: This article is intended for bot developers and store owners. If you're looking for a general overview of Telegram Payments for physical goods and services, 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 for physical goods and services were first added to Telegram in 2017 and allow bots to:
@ShopBot ...
in any chat for an inline invoice.Check out @ShopBot for an example of a virtual storefront – then use our dedicated guides for digital and physical products to build your own.
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 allows developers to integrate directly with different third-party 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.
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 #paymentsprovider
in 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.
/mybots
command in the chat with BotFather and choose the @merchantbot
that 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.
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:
If @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.
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: 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.
UPD 2024: Thanks to recent changes in the Apple Review Guidelines, users will soon be able to pay for digital goods and services with Telegram Stars on all platforms.
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.
See also: Telegram Privacy Policy
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,729.82 |
AFN | Afghan Afghani | AFN70.25 | AFN702,466.74 |
ALL | Albanian Lek | 93,69ALL | 936.913,24ALL |
AMD | Armenian Dram | 393.46 AMD | 3,934,576.23 AMD |
ARS | Argentine Peso | ARS 1.020,57 | ARS 10.205.730,09 |
AUD | Australian Dollar | AU$1.58 | AU$15,783.95 |
AZN | Azerbaijani Manat | 1,70 AZN | 16 956,94 AZN |
BAM | Bosnia & Herzegovina Convertible Mark | 1,86 BAM | 18.641,58 BAM |
BDT | Bangladeshi Taka | BDT 119.50 | BDT 1,194,955.96 |
BGN | Bulgarian Lev | 1,86 BGN | 18 631,75 BGN |
BHD | Bahraini dinar | BHD 0.377 | BHD 3,770.580 |
BND | Brunei Dollar | BND1,35 | BND13.508,71 |
BOB | Bolivian Boliviano | BOB 6,91 | BOB 69.102,24 |
BRL | Brazilian Real | R$ 6,09 | R$ 60.944,03 |
BYN | Belarusian ruble | 3,27 BYN | 32 725,23 BYN |
CAD | Canadian Dollar | CA$1.43 | CA$14,310.90 |
CHF | Swiss Franc | 0.89 CHF | 8'924.99 CHF |
CLP | Chilean Peso | CLP 983 | CLP 9.826.095 |
CNY | Chinese Renminbi Yuan | CN¥7.28 | CN¥72,848.01 |
COP | Colombian Peso | COP 4.345,53 | COP 43.455.300,00 |
CRC | Costa Rican Colón | CRC503,36 | CRC5.033.550,65 |
CZK | Czech Koruna | 23,92 CZK | 239 160,17 CZK |
DKK | Danish Krone | 7,11 DKK | 71115,10 DKK |
DOP | Dominican Peso | DOP60.70 | DOP606,961.76 |
DZD | Algerian Dinar | DZD 133.92 | DZD 1,339,201.21 |
EGP | Egyptian Pound | EGP 50.78 | EGP 507,830.01 |
ETB | Ethiopian Birr | ETB127.00 | ETB1,269,955.96 |
EUR | Euro | 0,95 € | 9 533,05 € |
GBP | British Pound | £0.79 | £7,866.40 |
GEL | Georgian Lari | 2,81 GEL | 28 100,83 GEL |
GHS | Ghanaian cedi | GHS14.70 | GHS146,991.68 |
GTQ | Guatemalan Quetzal | GTQ7.70 | GTQ77,022.79 |
HKD | Hong Kong Dollar | HK$7.77 | HK$77,693.10 |
HNL | Honduran Lempira | HNL 25.38 | HNL 253,793.51 |
HRK | Croatian Kuna | 7,17 HRK | 71.729,06 HRK |
HUF | Hungarian Forint | 390,50 HUF | 3 904 995,01 HUF |
IDR | Indonesian Rupiah | IDR16.050,00 | IDR160.500.000,00 |
ILS | Israeli New Sheqel | ₪ 3.59 | ₪ 35,926.01 |
INR | Indian Rupee | ₹84.89 | ₹848,948.02 |
IQD | Iraqi dinar | IQD 1,310.000 | IQD 13,100,003.810 |
IRR | Iranian rial | 42,087/50 IRR | 420,875,043/20 IRR |
ISK | Icelandic Króna | 138 ISK | 1.379.502 ISK |
JMD | Jamaican Dollar | JMD156.51 | JMD1,565,061.57 |
JOD | Jordanian dinar | JOD0.709 | JOD7,093.970 |
JPY | Japanese Yen | ¥153 | ¥1,533,675 |
KES | Kenyan Shilling | KES129.25 | KES1,292,501.72 |
KGS | Kyrgyzstani Som | 87-00 KGS | 869 997-88 KGS |
KRW | South Korean Won | ₩1,438 | ₩14,380,650 |
KZT | Kazakhstani Tenge | KZT524-11 | KZT5 241 076-96 |
LBP | Lebanese Pound | LBP 89,548.11 | LBP 895,481,146.82 |
LKR | Sri Lankan Rupee | LKR 291.15 | LKR 2,911,472.03 |
MAD | Moroccan Dirham | MAD 10.00 | MAD 100,019.06 |
MDL | Moldovan Leu | 18.30 MDL | 183,041.67 MDL |
MMK | Myanmar kyat | MMK3,247.96 | MMK32,479,609.92 |
MNT | Mongolian Tögrög | MNT3 398,00 | MNT33 979 998,70 |
MOP | Macanese pataca | MOP8.00 | MOP80,020.21 |
MUR | Mauritian Rupee | MUR46.50 | MUR465,020.94 |
MVR | Maldivian Rufiyaa | 15.40 MVR | 153,986.78 MVR |
MXN | Mexican Peso | MX$20.22 | MX$202,231.70 |
MYR | Malaysian Ringgit | MYR4.47 | MYR44,665.00 |
MZN | Mozambican Metical | MZN63.90 | MZN639,018.04 |
NGN | Nigerian Naira | NGN1,553.09 | NGN15,530,903.22 |
NIO | Nicaraguan Córdoba | NIO 36.80 | NIO 368,003.43 |
NOK | Norwegian Krone | NOK 11,20 | NOK 112 035,25 |
NPR | Nepalese Rupee | NPR135.92 | NPR1,359,153.99 |
NZD | New Zealand Dollar | NZ$1.74 | NZ$17,378.15 |
PAB | Panamanian Balboa | PAB 1.00 | PAB 9,999.33 |
PEN | Peruvian Nuevo Sol | PEN 3.74 | PEN 37,368.94 |
PHP | Philippine Peso | PHP58.99 | PHP589,910.05 |
PKR | Pakistani Rupee | PKR278.19 | PKR2,781,861.25 |
PLN | Polish Złoty | 4,07 PLN | 40 702,20 PLN |
PYG | Paraguayan Guaraní | PYG 7.817 | PYG 78.174.592 |
QAR | Qatari Riyal | QAR 3.65 | QAR 36,459.64 |
RON | Romanian Leu | 4,74 RON | 47.428,03 RON |
RSD | Serbian Dinar | 111,49 RSD | 1.114.884,98 RSD |
RUB | Russian Ruble | 109,82 RUB | 1 098 237,63 RUB |
SAR | Saudi Riyal | SAR 3.76 | SAR 37,576.71 |
SEK | Swedish Krona | 10,97 SEK | 109.664,95 SEK |
SGD | Singapore Dollar | SGD1.35 | SGD13,497.95 |
SYP | Syrian pound | SYP 2,512.53 | SYP 25,125,302.43 |
THB | Thai Baht | ฿34.18 | ฿341,801.25 |
TJS | Tajikistani Somoni | 10;92 TJS | 109 247;40 TJS |
TRY | Turkish Lira | 34,99 TRY | 349.880,65 TRY |
TTD | Trinidad and Tobago Dollar | TTD6.79 | TTD67,896.12 |
TWD | New Taiwan Dollar | NT$32.53 | NT$325,285.02 |
TZS | Tanzanian Shilling | TZS2,354.97 | TZS23,549,660.05 |
UAH | Ukrainian Hryvnia | 41,87UAH | 418 728,32UAH |
UGX | Ugandan Shilling | UGX3,640 | UGX36,400,029 |
USD | United States Dollar | $1.00 | $10,000.00 |
UYU | Uruguayan Peso | UYU 44,58 | UYU 445.780,95 |
UZS | Uzbekistani Som | 12 869,34 UZS | 128 693 430,94 UZS |
VND | Vietnamese Đồng | 25.440 ₫ | 254.400.000 ₫ |
YER | Yemeni Rial | YER 250.38 | YER 2,503,750.09 |
ZAR | South African Rand | ZAR 18.09 | ZAR 180,925.50 |