CINXE.COM

Bot Payments API

<!DOCTYPE html> <html class=""> <head> <meta charset="utf-8"> <title>Bot Payments API</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta property="description" content="Telegram Bot Payments are a free and open platform that allows sellers to accept payments for goods and services from Telegram…"> <meta property="og:title" content="Bot Payments API"> <meta property="og:image" content="b92643c0c9a2612b36"> <meta property="og:description" content="Telegram Bot Payments are a free and open platform that allows sellers to accept payments for goods and services from Telegram…"> <link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png"> <link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" /> <link href="/css/bootstrap.min.css?3" rel="stylesheet"> <link href="/css/telegram.css?241" rel="stylesheet" media="screen"> <style> </style> </head> <body class="preload"> <div class="dev_page_wrap"> <div class="dev_page_head navbar navbar-static-top navbar-tg"> <div class="navbar-inner"> <div class="container clearfix"> <ul class="nav navbar-nav navbar-right hidden-xs"><li class="navbar-twitter"><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)"><i class="icon icon-twitter"></i><span> Twitter</span></a></li></ul> <ul class="nav navbar-nav"> <li><a href="//telegram.org/">Home</a></li> <li class="hidden-xs"><a href="//telegram.org/faq">FAQ</a></li> <li class="hidden-xs"><a href="//telegram.org/apps">Apps</a></li> <li class=""><a href="/api">API</a></li> <li class=""><a href="/mtproto">Protocol</a></li> <li class=""><a href="/schema">Schema</a></li> </ul> </div> </div> </div> <div class="container clearfix"> <div class="dev_page"> <div id="dev_page_content_wrap" class=" "> <div class="dev_page_bread_crumbs"></div> <h1 id="dev_page_title">Bot Payments API</h1> <div id="dev_page_content"><!-- scroll_nav --> <div class="dev_side_image"> <a href="/file/811140227/2/ZTXUngAbELM.193805/ba6aa233d1d4206207" target="_blank"><img src="/file/811140095/1/lfTvDVqVS8M.43169/1a191248e6cf027581" title="Payments API. Click for hi-res picture"> </a></div> <p><strong>Telegram Bot Payments</strong> are a free and open platform that allows sellers to accept payments for goods and services from Telegram users. Telegram doesn&#39;t collect payment information and takes <strong>no commission</strong>. This page covers payments for <strong>physical goods and services</strong> – if you’re interested in selling <strong>digital goods and services</strong>, please check out our <a href="https://core.telegram.org/bots/payments-stars">dedicated page</a>.</p> <blockquote> <p><strong>Note:</strong> This article is intended for bot developers and store owners. If you&#39;re looking for a general overview of Telegram Payments for physical goods and services, check out the <a href="https://telegram.org/blog/payments-2-0-scheduled-voice-chats#payments-2-0">Telegram blog</a>.</p> </blockquote> <p>If you are new to Telegram bots and would like to learn how to create and set up a bot, please consult our <a href="https://core.telegram.org/bots"><strong>Introduction to Bots</strong></a> and <a href="/bots/faq"><strong>Bot FAQ</strong></a>.</p> <h3><a class="anchor" name="payments-for-physical-products" href="#payments-for-physical-products"><i class="anchor-icon"></i></a>Payments for Physical Products</h3> <p>Payments for physical goods and services were first added to Telegram in <a href="https://telegram.org/evolution#may-2017">2017</a> and allow bots to:</p> <ul> <li>Accept payments from over <strong>200 countries</strong> using more than 20 providers.</li> <li>Send invoices to <strong>any chat</strong>, including groups and channels.</li> <li>Receive payments from users on mobile or <strong>desktop apps</strong>.</li> <li>Try <a href="https://t.me/shopbot">@ShopBot</a> to create a test invoice – or start a message with <code>@ShopBot ...</code> in any chat for an <strong>inline invoice</strong>.</li> <li>Check out <a href="https://t.me/teststore">Demo Shop</a> for an example of a <a href="https://telegram.org/tour/channels">Telegram Channel</a> used as <strong>virtual storefront</strong>.</li> </ul> <div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;"> <video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001377/1/0o3vSvY22g8.123356/deb4ed6951d780f7b7" style="max-width: 400px;" title="If your pizza place can't deliver a clone army, you're buying pizza from the wrong shop." alt="Video: Ordering a pizza through a Telegram channel"> <source src="/file/464001705/2/Hg-klQnZ_n4.4889245.mp4/d324511ffdab7b4668" type="video/mp4"> </video> </div> <blockquote> <p>Check out <a href="https://t.me/shopbot">@ShopBot</a> for an example of a virtual storefront – then use our dedicated guides for <a href="https://core.telegram.org/bots/payments-stars">digital</a> and <a href="https://core.telegram.org/bots/payments">physical</a> products to build your own.</p> </blockquote> <h4><a class="anchor" name="how-does-this-work" href="#how-does-this-work"><i class="anchor-icon"></i></a>How does this work?</h4> <p>You create a <strong>bot</strong> that offers goods and services to Telegram users. Merchant bots can send specially formatted <strong>invoice messages</strong> to users, groups or channels. If your bot supports <a href="/bots/inline">inline mode</a>, users can also send invoices to other chats <em>via the bot</em>, including to one-on-one chats with other users.</p> <div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;"> <video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001361/2/0tUACjLHgog.102443/ba08e6374676fd1918" style="max-width: 400px;" alt="Video: Paying for goods via an inline invoice"> <source src="/file/464001302/1/H6KwJFdtIRk.4794843.mp4/e8b988bdd940e7a952" type="video/mp4"> </video> </div> <p>Invoice messages feature a <strong>photo</strong> and <strong>description</strong> of the product along with a prominent <strong>Pay</strong> button. Tapping this button opens a special payment interface in the Telegram app. In this interface, users can choose a <strong>tip amount</strong> (if allowed by the merchant) and enter additional details like shipping info, phone number, or email address.</p> <p>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 <em>Apple Pay</em> and <em>Google Pay</em>. Once the transaction is done, the merchant bot can send a <strong>receipt message</strong> with payment details, shipping and delivery information.</p> <blockquote> <p><a href="#the-payments-api">Detailed information</a> and <a href="#step-by-step-process">step-by-step instructions</a> are available below.</p> </blockquote> <h4><a class="anchor" name="supported-payment-providers" href="#supported-payment-providers"><i class="anchor-icon"></i></a>Supported Payment Providers</h4> <p>Telegram does <strong>not</strong> process payments from users and instead relies on different <strong>payment providers</strong> 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.</p> <p>For the moment we support payments from more than <strong>200 countries</strong> via the following payment providers:</p> <ul> <li><a href="https://smart-glocal.com">Smart Glocal</a></li> <li><a href="https://www.unlimint.com/">Unlimint</a></li> <li><a href="https://tranzzo.com">Tranzzo</a></li> <li><a href="https://paykassma.com/telegram">Paykassma</a></li> <li><a href="https://yoomoney.ru/">YooMoney</a></li> <li><a href="https://www.sberbank.ru">Sberbank</a></li> <li><a href="https://www.psbank.ru/Business/Acquiring/Internet">PSB</a></li> <li><a href="https://developer.131.ru/ru/">Bank 131</a></li> <li><a href="https://payme.uz/">Payme</a></li> <li><a href="http://click.uz/">CLICK</a></li> <li><a href="https://www.liqpay.ua/uk/">LiqPay</a></li> <li><a href="https://leogaming.net/ua/telegram">LeoGaming</a></li> <li><a href="https://cascad.com/">Cascad</a></li> <li><a href="https://www.portmone.com.ua/">Portmone</a></li> <li><a href="https://paymega.io/">Paymega</a></li> <li><a href="https://ecommpay.com/">ECOMMPAY</a></li> <li><a href="https://info.paymaster.ru">PayMaster</a></li> <li><a href="https://gate.global.uz/">Global Pay UZ</a></li> <li><a href="https://ipay88.com.kh">iPay88</a></li> <li><a href="https://paybox.money/">PayBox.money</a></li> <li><a href="https://freedompay.money/">Freedom Pay</a></li> <li><a href="https://billline.net">bill_line</a></li> <li><a href="https://chapa.co">Chapa</a></li> </ul> <p>We continue expanding this list, follow <a href="https://t.me/botnews">@BotNews</a> for updates.</p> <blockquote> <p>If you work for a company that provides services similar to standalone accounts in <a href="https://stripe.com/connect">Stripe Connect</a>, please let us know via <a href="https://t.me/botsupport">@BotSupport</a> (include the hashtag <code>#paymentsprovider</code> in your message).</p> </blockquote> <hr> <h3><a class="anchor" name="the-payments-api" href="#the-payments-api"><i class="anchor-icon"></i></a>The Payments API</h3> <p>This section explores payments via Telegram&#39;s Bot API in more detail.</p> <h4><a class="anchor" name="connecting-payments" href="#connecting-payments"><i class="anchor-icon"></i></a>Connecting Payments</h4> <p>To start accepting payments, you need a <strong>Telegram bot</strong>. Use <a href="https://t.me/botfather">BotFather</a> to create a bot if you don&#39;t have one already.</p> <p>Now you have a merchant bot that can offer goods or services to Telegram users. Let&#39;s call it <code>@merchantbot</code> in this document. The first stop is to choose and <strong>connect a payment provider</strong>, you can find the <a href="#supported-payment-providers">list of supported providers</a> above.</p> <h4><a class="anchor" name="getting-a-token" href="#getting-a-token"><i class="anchor-icon"></i></a>Getting a Token</h4> <ul> <li>Use the <code>/mybots</code> command in the chat with <a href="https://t.me/botfather">BotFather</a> and choose the <code>@merchantbot</code> that will be offering goods or services.</li> <li>Go to <em>Bot Settings &gt; Payments</em>.</li> <li>Choose a provider, and you will be redirected to the relevant bot.</li> <li>Enter the required details so that the payments provider is connected successfully, go back to the chat with Botfather.</li> <li>The message will now show available providers. Each will have a name, a <strong>token</strong>, and the date the provider was connected.</li> <li>You will use the <strong>token</strong> when working with the Bot API.</li> </ul> <h4><a class="anchor" name="implementing-payments" href="#implementing-payments"><i class="anchor-icon"></i></a>Implementing Payments</h4> <p>You will find the necessary methods for building your payment implementation in the <a href="https://core.telegram.org/bots/api#payments">Payments Section of the Bot API Manual</a>.</p> <h4><a class="anchor" name="testing-payments-the-39stripe-test-mode-39-provider" href="#testing-payments-the-39stripe-test-mode-39-provider"><i class="anchor-icon"></i></a>Testing Payments: the &#39;Stripe TEST MODE&#39; Provider</h4> <p>While you&#39;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&#39;t be used in test mode, but you can use test cards like <code>4242 4242 4242 4242</code> (<a href="https://stripe.com/docs/testing#cards">full list here</a>). You can switch between test mode and live mode as many times as you want, but please see the <a href="#going-live">live checklist</a> <strong>before</strong> you go live.</p> <h3><a class="anchor" name="step-by-step-process" href="#step-by-step-process"><i class="anchor-icon"></i></a>Step-by-Step Process</h3> <blockquote> <p>See <a href="https://core.telegram.org/bots/api#payments">Bot API: Payments</a> for the complete list of available methods and objects.</p> </blockquote> <h4><a class="anchor" name="1-create-invoice" href="#1-create-invoice"><i class="anchor-icon"></i></a>1. Create Invoice</h4> <p>The user contacts <code>@merchantbot</code> 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:</p> <h5><a class="anchor" name="a-bot-invoice" href="#a-bot-invoice"><i class="anchor-icon"></i></a>A. Bot Invoice</h5> <p>Use the <a href="/bots/api#sendinvoice">sendInvoice</a> method to generate an invoice and send it to a chat. The <em>provider_token</em> parameter is where you put the <em>token</em> value that you&#39;ve <a href="#getting-a-token">obtained earlier via Botfather</a>. It is possible for one merchant bot to use several different tokens for different users or different goods and services.</p> <p>Invoice messages with a pay button can be sent to <strong>chats of any type</strong>: private chats with the user, groups, or channels. The resulting invoice message will look like this:</p> <div class="blog_image_wrap"> <a href="/file/464001285/4/UBRF1ViiEOU.106159/0bbcdcb7f5af77a782" target="_blank"><img src="/file/464001285/4/UBRF1ViiEOU.106159/0bbcdcb7f5af77a782" title="Join button"/></a> <p>Bot Invoice</p> </div> <h5><a class="anchor" name="b-inline-invoice" href="#b-inline-invoice"><i class="anchor-icon"></i></a>B. Inline Invoice</h5> <p>If <code>@merchantbot</code> supports <a href="/bots/inline">inline mode</a>, you can use <a href="/bots/api#inputinvoicemessagecontent">inputInvoiceMessageContent</a> 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 <strong>Pay button</strong> that can be used multiple times.</p> <div class="blog_image_wrap"> <a href="/file/464001162/3/C2wdLOXaMA0.97425/32091afe52ef0e59f2" target="_blank"><img src="/file/464001162/3/C2wdLOXaMA0.97425/32091afe52ef0e59f2" title="Join button"/></a> <p>Inline Invoice</p> </div> <h4><a class="anchor" name="2-choose-forwarding-behavior" href="#2-choose-forwarding-behavior"><i class="anchor-icon"></i></a>2. Choose Forwarding Behavior</h4> <p>There are two ways for handling <strong>forwarded copies</strong> of your invoices, controlled by the parameter <em>start_parameter</em> in the <a href="/bots/api#sendinvoice">sendInvoice</a> method.</p> <ul> <li><strong>A. Multi-chat invoice.</strong> Forwarded copies show a <strong>Pay button</strong>, which multiple users can press and attempt to pay for the goods or services. <a href="#b-inline-invoice">Inline invoices</a> are always multi-chat invoices.</li> <li><strong>B. Single-chat invoice.</strong> Invoice can only be paid from the chat to which it was sent, <em>forwarded copies</em> show a <strong>URL button</strong> with a deep link to the bot. The deep link can be used to generate a similar invoice in the chat with the bot, to show an error message, or for other purposes. <a href="/bots#deep-linking">More info on Deep Linking »</a></li> </ul> <p>If a <em>single-chat invoice</em> is sent to the chat with <code>@merchantbot</code>, it can only be paid <strong>once</strong>. If a <em>single-chat invoice</em> is sent to any other chat, it can be paid <strong>many times</strong> by many users.</p> <blockquote> <p>To get a better understanding of how this works, try toggling the <em>“Pay from Forwards”</em> parameter when creating invoices with our demo <a href="https://t.me/shopbot">@ShopBot</a>.</p> </blockquote> <p>Regardless of whether or not the <strong>Pay</strong> 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.</p> <h4><a class="anchor" name="3-tips-optional-step" href="#3-tips-optional-step"><i class="anchor-icon"></i></a>3. Tips (optional step)</h4> <p>If the <em>max_tip_amount</em> parameter is set to above <code>0</code>, users can add a tip to their payment. You can use the parameter <em>suggested_tip_amounts</em> to suggest particular amounts that you feel will be relevant for the invoice.</p> <div class="blog_image_wrap"> <a href="/file/464001701/6/-BJZJqe9VeA.70226/75a192d58d76dc96c1" target="_blank"><img src="/file/464001701/6/-BJZJqe9VeA.70226/75a192d58d76dc96c1" title="Join button"/></a> <p>Adding Tips</p> </div> <h4><a class="anchor" name="4-shipping-info-and-other-details-optional-step" href="#4-shipping-info-and-other-details-optional-step"><i class="anchor-icon"></i></a>4. Shipping info and other details (optional step)</h4> <p> The user specifies shipping information or other info requested by the bot. This could be the user&#39;s full name, an email address, a phone number in international format, or a full postal address for delivery.</p> <div class="blog_image_wrap"> <a href="/file/464001896/2/9gTF8_aGQkE.45826/d5b11a999a40a1a6d9" target="_blank"><img src="/file/464001896/2/9gTF8_aGQkE.45826/d5b11a999a40a1a6d9" title="Shipping Info"/></a> <p>Shipping Info</p> </div> <h4><a class="anchor" name="5-offer-delivery-options-based-on-shipping-address-optional-step" href="#5-offer-delivery-options-based-on-shipping-address-optional-step"><i class="anchor-icon"></i></a>5. Offer delivery options based on shipping address (optional step)</h4> <p>If a shipping address was requested and you included the parameter <em>is_flexible</em>, the Bot API will send an <a href="/bots/api#update">Update</a> with a <em>shipping_query</em> field to the bot. The bot must respond using <a href="/bots/api#answershippingquery">answerShippingQuery</a> 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).</p> <blockquote> <p><strong>Tip:</strong> 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 <a href="#2-choose-forwarding-behavior">multi-chat</a>, <a href="#2-choose-forwarding-behavior">inline</a> or <a href="#2-choose-forwarding-behavior">single-chat, multi-use</a> invoices.</p> </blockquote> <h4><a class="anchor" name="6-select-delivery-option-optional-step" href="#6-select-delivery-option-optional-step"><i class="anchor-icon"></i></a>6. Select delivery option (optional step)</h4> <p>The user selects a delivery option from the list (the overall amount to be paid may change at this point) and proceeds to checkout.</p> <div class="blog_image_wrap"> <a href="/file/464001836/2/rwUQeqMOsnI.31142/b0cc9d885ccb78ab39" target="_blank"><img src="/file/464001836/2/rwUQeqMOsnI.31142/b0cc9d885ccb78ab39" title="Choose Delivery Option"/></a> <p>Choose Delivery Option</p> </div> <h4><a class="anchor" name="7-pre-checkout" href="#7-pre-checkout"><i class="anchor-icon"></i></a>7. Pre-Checkout</h4> <p>The user enters their payment information and presses the final pay button. At this moment the Bot API sends an <a href="/bots/api#update">Update</a> with the field <em>pre_checkout_query</em> to the bot that contains all the available information about the order. Your bot must reply using <a href="/bots/api#answerprecheckoutquery">answerPrecheckoutQuery</a> within <strong>10 seconds</strong> after receiving this update or the transaction is canceled.</p> <p>The bot may return an error if it can&#39;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. <em>&quot;Sorry, we&#39;re all out of rubber ducks! Would you be interested in a cast iron bear instead?&quot;</em>). Telegram will display this reason to the user.</p> <blockquote> <p><strong>Warning:</strong> It is critical to make sure your bot <strong>only</strong> accepts multiple payments when the order can be processed correctly. This is especially important if you are using <a href="#2-choose-forwarding-behavior">multi-chat</a>, <a href="#2-choose-forwarding-behavior">inline</a> or <a href="#2-choose-forwarding-behavior">single-chat, multi-use</a> invoices.</p> </blockquote> <h4><a class="anchor" name="8-checkout" href="#8-checkout"><i class="anchor-icon"></i></a>8. Checkout</h4> <p>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 <a href="/bots/api#message"><em>successful_payment</em></a> from the user. Once your bot receives this message, it should proceed with delivering the goods or services purchased by the user.</p> <p>If the invoice message was sent in the chat with <code>@merchantbot</code>, 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:</p> <div class="blog_image_wrap"> <a href="/file/464001648/1/1-P1Pb7TusA.105628/b9cb2cf4c7427302c0" target="_blank"><img src="/file/464001648/1/1-P1Pb7TusA.105628/b9cb2cf4c7427302c0" title="Receipt"/></a> <p>Receipt</p> </div> <p>If the message was sent to any other chat, the <strong>Pay button</strong> remains and can be used again. It is up to the merchant bot whether to actually accept multiple payments.</p> <h3><a class="anchor" name="going-live" href="#going-live"><i class="anchor-icon"></i></a>Going Live</h3> <p>Once you&#39;ve tested everything and confirmed that your payments implementation works, you&#39;re ready to switch to LIVE MODE. To do this, go to BotFather &gt; /mybots &gt; select <code>@merchantbot</code> &gt; Bot Settings / Payments and enable Stripe LIVE MODE. You will get a token that has the string <code>:LIVE:</code> in the middle, e.g. <code>123:LIVE:XXXX</code>. Do not give this token to any third parties!</p> <p>Before your merchant bot goes into live mode, please ensure the following:</p> <h4><a class="anchor" name="live-checklist" href="#live-checklist"><i class="anchor-icon"></i></a>Live Checklist</h4> <ul> <li>We highly recommend turning on <a href="https://telegram.org/faq#q-how-does-2-step-verification-work">2-step verification</a> for the Telegram account that controls your bot. </li> <li>You as the bot owner have <strong>full responsibility</strong> in case any conflicts or disputes arise. You must be prepared to correctly process disputes and chargebacks (in the case of Stripe, see <a href="https://stripe.com/docs/disputes">here</a>).</li> <li>To prevent any misunderstandings and possible legal issues, make sure your bot can respond to a /terms command (or offers a similarly easy way of accessing your Terms and Conditions). Your Terms and Conditions should be written in a clear way and easy to understand for your users. The users must confirm that they have read and agree to your terms before they make the purchase.</li> <li>Your bot must provide support for its customers, either by responding to a /support command or by some other clearly communicated means. Users must have a clear way of contacting you about their purchases and you must process their support requests in a timely fashion. You must notify your users that Telegram support or <a href="https://t.me/botsupport">bot support</a> will not able to help them with purchases made via your bot.</li> <li>Make sure that your server hardware and software is stable. Use backups to make sure that you don&#39;t lose data about your users&#39; payments.</li> <li>Make sure that you have completed the live checklist for your selected <strong>payments provider</strong> as well as this one. </li> </ul> <hr> <h3><a class="anchor" name="faq" href="#faq"><i class="anchor-icon"></i></a>FAQ</h3> <h4><a class="anchor" name="how-do-i-join-as-a-payment-provider" href="#how-do-i-join-as-a-payment-provider"><i class="anchor-icon"></i></a>How do I join as a payment provider?</h4> <p>If you work for a company that provides services similar to standalone accounts in <a href="https://stripe.com/connect">Stripe Connect</a>, please let us know via <a href="https://t.me/botsupport">@BotSupport</a> (kindly include the hashtag <code>#paymentsprovider</code> in your message).</p> <h4><a class="anchor" name="how-much-do-you-charge" href="#how-much-do-you-charge"><i class="anchor-icon"></i></a>How much do you charge?</h4> <p>Telegram does <strong>not</strong> 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 <a href="https://stripe.com/pricing">Stripe website</a> for more details on pricing).</p> <h4><a class="anchor" name="do-i-need-a-bot-to-accept-payments" href="#do-i-need-a-bot-to-accept-payments"><i class="anchor-icon"></i></a>Do I need a bot to accept payments?</h4> <p>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&#39;t maintain any such bots and doesn&#39;t endorse any of the third-party bots offering these services.</p> <h4><a class="anchor" name="what-can-my-bot-sell" href="#what-can-my-bot-sell"><i class="anchor-icon"></i></a>What can my bot sell?</h4> <p>Telegram does not impose any limits on what products or services your bot can offer. But please note that you <strong>must</strong> comply with the rules of the payments provider you choose in our system. E.g., Stripe has a special page for <a href="https://stripe.com/us/prohibited-businesses">prohibited businesses</a> – you may want to consult that one before you start selling harvested organs.</p> <p><strong>Special Note:</strong> Due to Apple&#39;s limitations, bot developers are currently not allowed to accept payments for digital goods and virtual services from <strong>iOS users</strong>.</p> <blockquote> <p><strong>UPD 2024:</strong> Thanks to <a href="https://developer.apple.com/news/?id=f1v8pyay">recent changes</a> in the Apple Review Guidelines, users will soon be able to pay for digital goods and services with <a href="https://t.me/botnews/90">Telegram Stars</a> on all platforms.</p> </blockquote> <h4><a class="anchor" name="how-are-disputes-handled" href="#how-are-disputes-handled"><i class="anchor-icon"></i></a>How are disputes handled?</h4> <p>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&#39;s response and the shipping details entered by the user are passed to the bot developer so that they can process the order.</p> <p>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.</p> <blockquote> <p>See also: <a href="https://telegram.org/privacy#7-third-party-payment-services">Telegram Privacy Policy</a></p> </blockquote> <h4><a class="anchor" name="how-do-i-support-payments-in-my-third-party-app-that-uses-the-te" href="#how-do-i-support-payments-in-my-third-party-app-that-uses-the-te"><i class="anchor-icon"></i></a>How do I support payments in my third-party app that uses the Telegram API?</h4> <p>You are welcome to study the <a href="/api/payments">MTProto payment documentation</a>.</p> <h4><a class="anchor" name="supported-currencies" href="#supported-currencies"><i class="anchor-icon"></i></a>Supported Currencies</h4> <p>Telegram payments currently support the currencies listed below (here&#39;s a <a href="https://core.telegram.org/bots/payments/currencies.json">JSON version</a> in case you need it).</p> <p>If you&#39;re using Stripe as the payments provider, supported currencies may vary depending on the country you have specified in your Stripe account (<a href="https://support.stripe.com/questions/which-currencies-does-stripe-support">more info</a>).</p> <p>The minimum and maximum amounts for each of the currencies roughly correspond to the limit of <code>US$ 1-10000</code>. 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).</p> <p><table class="table table-hover table-bordered"> <thead> <tr> <th>Code</th> <th>Title</th> <th>Min amount</th> <th>Max amount</th> </tr> </thead> <tbody><tr> <td>AED</td> <td>United Arab Emirates Dirham</td> <td>AED 3.67</td> <td>AED 36,728.97</td> </tr><tr> <td>AFN</td> <td>Afghan Afghani</td> <td>AFN68.27</td> <td>AFN682,660.85</td> </tr><tr> <td>ALL</td> <td>Albanian Lek</td> <td>93,03ALL</td> <td>930.254,61ALL</td> </tr><tr> <td>AMD</td> <td>Armenian Dram</td> <td>389.64 AMD</td> <td>3,896,448.72 AMD</td> </tr><tr> <td>ARS</td> <td>Argentine Peso</td> <td>ARS 998,22</td> <td>ARS 9.982.205,03</td> </tr><tr> <td>AUD</td> <td>Australian Dollar</td> <td>AU$1.55</td> <td>AU$15,462.15</td> </tr><tr> <td>AZN</td> <td>Azerbaijani Manat</td> <td>1,70 AZN</td> <td>16 985,82 AZN</td> </tr><tr> <td>BAM</td> <td>Bosnia & Herzegovina Convertible Mark</td> <td>1,85 BAM</td> <td>18.546,30 BAM</td> </tr><tr> <td>BDT</td> <td>Bangladeshi Taka</td> <td>BDT 119.86</td> <td>BDT 1,198,615.52</td> </tr><tr> <td>BGN</td> <td>Bulgarian Lev</td> <td>1,86 BGN</td> <td>18 575,51 BGN</td> </tr><tr> <td>BHD</td> <td>Bahraini dinar</td> <td>BHD 0.376</td> <td>BHD 3,764.640</td> </tr><tr> <td>BND</td> <td>Brunei Dollar</td> <td>BND1,34</td> <td>BND13.446,49</td> </tr><tr> <td>BOB</td> <td>Bolivian Boliviano</td> <td>BOB 6,93</td> <td>BOB 69.309,18</td> </tr><tr> <td>BRL</td> <td>Brazilian Real</td> <td>R$ 5,80</td> <td>R$ 57.969,50</td> </tr><tr> <td>BYN</td> <td>Belarusian ruble</td> <td>3,28 BYN</td> <td>32 824,43 BYN</td> </tr><tr> <td>CAD</td> <td>Canadian Dollar</td> <td>CA$1.41</td> <td>CA$14,082.15</td> </tr><tr> <td>CHF</td> <td>Swiss Franc</td> <td>0.89 CHF</td> <td>8'879.38 CHF</td> </tr><tr> <td>CLP</td> <td>Chilean Peso</td> <td>CLP 975</td> <td>CLP 9.752.691</td> </tr><tr> <td>CNY</td> <td>Chinese Renminbi Yuan</td> <td>CN¥7.23</td> <td>CN¥72,324.98</td> </tr><tr> <td>COP</td> <td>Colombian Peso</td> <td>COP 4.499,08</td> <td>COP 44.990.754,35</td> </tr><tr> <td>CRC</td> <td>Costa Rican Colón</td> <td>CRC510,45</td> <td>CRC5.104.546,96</td> </tr><tr> <td>CZK</td> <td>Czech Koruna</td> <td>23,99 CZK</td> <td>239 885,97 CZK</td> </tr><tr> <td>DKK</td> <td>Danish Krone</td> <td>7,08 DKK</td> <td>70815,70 DKK</td> </tr><tr> <td>DOP</td> <td>Dominican Peso</td> <td>DOP60.43</td> <td>DOP604,333.60</td> </tr><tr> <td>DZD</td> <td>Algerian Dinar</td> <td>DZD 133.18</td> <td>DZD 1,331,847.71</td> </tr><tr> <td>EGP</td> <td>Egyptian Pound</td> <td>EGP 49.35</td> <td>EGP 493,459.90</td> </tr><tr> <td>ETB</td> <td>Ethiopian Birr</td> <td>ETB121.47</td> <td>ETB1,214,653.64</td> </tr><tr> <td>EUR</td> <td>Euro</td> <td>0,95 €</td> <td>9 483,50 €</td> </tr><tr> <td>GBP</td> <td>British Pound</td> <td>£0.79</td> <td>£7,925.19</td> </tr><tr> <td>GEL</td> <td>Georgian Lari</td> <td>2,74 GEL</td> <td>27 350,09 GEL</td> </tr><tr> <td>GHS</td> <td>Ghanaian cedi</td> <td>GHS16.02</td> <td>GHS160,229.48</td> </tr><tr> <td>GTQ</td> <td>Guatemalan Quetzal</td> <td>GTQ7.75</td> <td>GTQ77,464.32</td> </tr><tr> <td>HKD</td> <td>Hong Kong Dollar</td> <td>HK$7.79</td> <td>HK$77,858.95</td> </tr><tr> <td>HNL</td> <td>Honduran Lempira</td> <td>HNL 25.33</td> <td>HNL 253,302.36</td> </tr><tr> <td>HRK</td> <td>Croatian Kuna</td> <td>7,13 HRK</td> <td>71.332,59 HRK</td> </tr><tr> <td>HUF</td> <td>Hungarian Forint</td> <td>387,62 HUF</td> <td>3 876 175,03 HUF</td> </tr><tr> <td>IDR</td> <td>Indonesian Rupiah</td> <td>IDR15.898,30</td> <td>IDR158.983.000,00</td> </tr><tr> <td>ILS</td> <td>Israeli New Sheqel</td> <td>₪ 3.75</td> <td>₪ 37,493.02</td> </tr><tr> <td>INR</td> <td>Indian Rupee</td> <td>₹84.48</td> <td>₹844,777.50</td> </tr><tr> <td>IQD</td> <td>Iraqi dinar</td> <td>IQD 1,313.925</td> <td>IQD 13,139,253.710</td> </tr><tr> <td>IRR</td> <td>Iranian rial</td> <td>42,092/48 IRR</td> <td>420,924,846/64 IRR</td> </tr><tr> <td>ISK</td> <td>Icelandic Króna</td> <td>138 ISK</td> <td>1.376.503 ISK</td> </tr><tr> <td>JMD</td> <td>Jamaican Dollar</td> <td>JMD159.29</td> <td>JMD1,592,906.93</td> </tr><tr> <td>JOD</td> <td>Jordanian dinar</td> <td>JOD0.709</td> <td>JOD7,091.000</td> </tr><tr> <td>JPY</td> <td>Japanese Yen</td> <td>¥154</td> <td>¥1,542,299</td> </tr><tr> <td>KES</td> <td>Kenyan Shilling</td> <td>KES129.89</td> <td>KES1,298,942.68</td> </tr><tr> <td>KGS</td> <td>Kyrgyzstani Som</td> <td>86-51 KGS</td> <td>865 068-41 KGS</td> </tr><tr> <td>KRW</td> <td>South Korean Won</td> <td>₩1,396</td> <td>₩13,959,250</td> </tr><tr> <td>KZT</td> <td>Kazakhstani Tenge</td> <td>KZT498-45</td> <td>KZT4 984 495-76</td> </tr><tr> <td>LBP</td> <td>Lebanese Pound</td> <td>LBP 89,819.64</td> <td>LBP 898,196,387.08</td> </tr><tr> <td>LKR</td> <td>Sri Lankan Rupee</td> <td>LKR 293.03</td> <td>LKR 2,930,254.61</td> </tr><tr> <td>MAD</td> <td>Moroccan Dirham</td> <td>MAD 10.00</td> <td>MAD 99,995.26</td> </tr><tr> <td>MDL</td> <td>Moldovan Leu</td> <td>18.22 MDL</td> <td>182,248.35 MDL</td> </tr><tr> <td>MMK</td> <td>Myanmar kyat</td> <td>MMK3,247.96</td> <td>MMK32,479,609.92</td> </tr><tr> <td>MNT</td> <td>Mongolian Tögrög</td> <td>MNT3 398,00</td> <td>MNT33 979 999,46</td> </tr><tr> <td>MOP</td> <td>Macanese pataca</td> <td>MOP8.04</td> <td>MOP80,427.67</td> </tr><tr> <td>MUR</td> <td>Mauritian Rupee</td> <td>MUR47.21</td> <td>MUR472,094.75</td> </tr><tr> <td>MVR</td> <td>Maldivian Rufiyaa</td> <td>15.45 MVR</td> <td>154,503.25 MVR</td> </tr><tr> <td>MXN</td> <td>Mexican Peso</td> <td>MX$20.37</td> <td>MX$203,689.02</td> </tr><tr> <td>MYR</td> <td>Malaysian Ringgit</td> <td>MYR4.47</td> <td>MYR44,704.97</td> </tr><tr> <td>MZN</td> <td>Mozambican Metical</td> <td>MZN63.91</td> <td>MZN639,113.67</td> </tr><tr> <td>NGN</td> <td>Nigerian Naira</td> <td>NGN1,665.82</td> <td>NGN16,658,201.10</td> </tr><tr> <td>NIO</td> <td>Nicaraguan Córdoba</td> <td>NIO 36.91</td> <td>NIO 369,067.37</td> </tr><tr> <td>NOK</td> <td>Norwegian Krone</td> <td>NOK 11,10</td> <td>NOK 111 013,02</td> </tr><tr> <td>NPR</td> <td>Nepalese Rupee</td> <td>NPR134.83</td> <td>NPR1,348,328.67</td> </tr><tr> <td>NZD</td> <td>New Zealand Dollar</td> <td>NZ$1.73</td> <td>NZ$17,297.27</td> </tr><tr> <td>PAB</td> <td>Panamanian Balboa</td> <td>PAB 1.00</td> <td>PAB 10,029.87</td> </tr><tr> <td>PEN</td> <td>Peruvian Nuevo Sol</td> <td>PEN 3.81</td> <td>PEN 38,076.90</td> </tr><tr> <td>PHP</td> <td>Philippine Peso</td> <td>PHP58.73</td> <td>PHP587,315.01</td> </tr><tr> <td>PKR</td> <td>Pakistani Rupee</td> <td>PKR278.49</td> <td>PKR2,784,858.94</td> </tr><tr> <td>PLN</td> <td>Polish Złoty</td> <td>4,11 PLN</td> <td>41 069,30 PLN</td> </tr><tr> <td>PYG</td> <td>Paraguayan Guaraní</td> <td>PYG 7.826</td> <td>PYG 78.260.870</td> </tr><tr> <td>QAR</td> <td>Qatari Riyal</td> <td>QAR 3.66</td> <td>QAR 36,564.41</td> </tr><tr> <td>RON</td> <td>Romanian Leu</td> <td>4,72 RON</td> <td>47.239,10 RON</td> </tr><tr> <td>RSD</td> <td>Serbian Dinar</td> <td>110,94 RSD</td> <td>1.109.449,53 RSD</td> </tr><tr> <td>RUB</td> <td>Russian Ruble</td> <td>104,97 RUB</td> <td>1 049 707,97 RUB</td> </tr><tr> <td>SAR</td> <td>Saudi Riyal</td> <td>SAR 3.76</td> <td>SAR 37,561.34</td> </tr><tr> <td>SEK</td> <td>Swedish Krona</td> <td>10,99 SEK</td> <td>109.887,97 SEK</td> </tr><tr> <td>SGD</td> <td>Singapore Dollar</td> <td>SGD1.34</td> <td>SGD13,424.75</td> </tr><tr> <td>SYP</td> <td>Syrian pound</td> <td>SYP 2,512.53</td> <td>SYP 25,125,298.58</td> </tr><tr> <td>THB</td> <td>Thai Baht</td> <td>฿34.91</td> <td>฿349,060.02</td> </tr><tr> <td>TJS</td> <td>Tajikistani Somoni</td> <td>10;69 TJS</td> <td>106 921;44 TJS</td> </tr><tr> <td>TRY</td> <td>Turkish Lira</td> <td>34,61 TRY</td> <td>346.090,21 TRY</td> </tr><tr> <td>TTD</td> <td>Trinidad and Tobago Dollar</td> <td>TTD6.81</td> <td>TTD68,104.88</td> </tr><tr> <td>TWD</td> <td>New Taiwan Dollar</td> <td>NT$32.48</td> <td>NT$324,767.97</td> </tr><tr> <td>TZS</td> <td>Tanzanian Shilling</td> <td>TZS2,667.96</td> <td>TZS26,679,626.38</td> </tr><tr> <td>UAH</td> <td>Ukrainian Hryvnia</td> <td>41,43UAH</td> <td>414 298,99UAH</td> </tr><tr> <td>UGX</td> <td>Ugandan Shilling</td> <td>UGX3,681</td> <td>UGX36,811,910</td> </tr><tr> <td>USD</td> <td>United States Dollar</td> <td>$1.00</td> <td>$10,000.00</td> </tr><tr> <td>UYU</td> <td>Uruguayan Peso</td> <td>UYU 43,04</td> <td>UYU 430.420,56</td> </tr><tr> <td>UZS</td> <td>Uzbekistani Som</td> <td>12 838,65 UZS</td> <td>128 386 515,58 UZS</td> </tr><tr> <td>VND</td> <td>Vietnamese Đồng</td> <td>25.390 ₫</td> <td>253.900.000 ₫</td> </tr><tr> <td>YER</td> <td>Yemeni Rial</td> <td>YER 249.87</td> <td>YER 2,498,749.64</td> </tr><tr> <td>ZAR</td> <td>South African Rand</td> <td>ZAR 18.19</td> <td>ZAR 181,900.57</td> </tr></tbody> </table></p> </div> </div> </div> </div> <div class="footer_wrap"> <div class="footer_columns_wrap footer_desktop"> <div class="footer_column footer_column_telegram"> <h5>Telegram</h5> <div class="footer_telegram_description"></div> Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed. </div> <div class="footer_column"> <h5><a href="//telegram.org/faq">About</a></h5> <ul> <li><a href="//telegram.org/faq">FAQ</a></li> <li><a href="//telegram.org/privacy">Privacy</a></li> <li><a href="//telegram.org/press">Press</a></li> </ul> </div> <div class="footer_column"> <h5><a href="//telegram.org/apps#mobile-apps">Mobile Apps</a></h5> <ul> <li><a href="//telegram.org/dl/ios">iPhone/iPad</a></li> <li><a href="//telegram.org/android">Android</a></li> <li><a href="//telegram.org/dl/web">Mobile Web</a></li> </ul> </div> <div class="footer_column"> <h5><a href="//telegram.org/apps#desktop-apps">Desktop Apps</a></h5> <ul> <li><a href="//desktop.telegram.org/">PC/Mac/Linux</a></li> <li><a href="//macos.telegram.org/">macOS</a></li> <li><a href="//telegram.org/dl/web">Web-browser</a></li> </ul> </div> <div class="footer_column footer_column_platform"> <h5><a href="/">Platform</a></h5> <ul> <li><a href="/api">API</a></li> <li><a href="//translations.telegram.org/">Translations</a></li> <li><a href="//instantview.telegram.org/">Instant View</a></li> </ul> </div> </div> <div class="footer_columns_wrap footer_mobile"> <div class="footer_column"> <h5><a href="//telegram.org/faq">About</a></h5> </div> <div class="footer_column"> <h5><a href="//telegram.org/blog">Blog</a></h5> </div> <div class="footer_column"> <h5><a href="//telegram.org/apps">Apps</a></h5> </div> <div class="footer_column"> <h5><a href="/">Platform</a></h5> </div> <div class="footer_column"> <h5><a href="//telegram.org/press">Press</a></h5> </div> </div> </div> </div> <script src="/js/main.js?47"></script> <script src="/js/jquery.min.js?1"></script> <script src="/js/bootstrap.min.js?1"></script> <script>window.initDevPageNav&&initDevPageNav(); initScrollVideos(true); backToTopInit("Go up"); removePreloadInit(); </script> </body> </html> <!-- page generated in 15.9ms -->

Pages: 1 2 3 4 5 6 7 8 9 10