Links

Binance Pay

Binance Pay is a service provided by the largest cryptocurrency exchange in the world. Using Binance Pay, you can receive instant crypto payments with a nominal 1% fee.
Please note that BinancePay works exclusively with Binance accounts. To utilize this payment method, both the merchant and the customer must be registered Binance users. If you require the ability to accept payments from customers who are not registered Binance users, we recommend considering alternative providers such as CryptoNoKYC. This will ensure that you can accept payments from a wider range of customers without the restriction of Binance account registration.

Register as a merchant

The first thing you need to do is register as a merchant. After opening the link, click the "Apply" button under "I'm a Merchant".
Register as a Binance Pay merchant
Register as a Binance Pay merchant
Select "via Direct Integration" and click the "Apply" button and follow the instructions to enter the dashboard.
Choose to directly integrate Binance Pay with your Telegram bot
Choose to directly integrate Binance Pay with your Telegram bot
Select
Once you are in the dashboard, select the "Developers" option from the menu.
Select "Developers" from the menu in your Binance Pay Dashboard
Select "Developers" from the menu in your Binance Pay Dashboard
Create a Binance API Key to accept crypto payments in Telegram
Create a Binance API Key to accept crypto payments in Telegram.

Generate API Key

In the "API Keys" section you will find the "Generate API Key" button - click on it to create a pair of keys. In the "Key Name" field, enter a name of your choice. For example, TGmembership. Leave "Key Type" at "Standard".
Connect your Telegram TGmembership bot with Binance Pay
Connect your Telegram TGmembership bot with Binance Pay

Keep your API Key secret.

You have successfully created your API Key. It is extremely important to keep it a secret - no one but you and TGmembership should ever know it, otherwise you may compromise your service.
If you suspect that a third party has access to your key, delete it immediately and create a new one. Don't forget to install the new key in your TGmembership bot.
Connect Binance Pay with your bot
Connect Binance Pay with your bot

Connect Binance Pay with your Telegram bot

Once you have the API Key from Binance Pay, open Telegram and select your bot. Open the /settings menu, then "Payment methods" and select Binance Pay. Your bot will ask you to enter the API Key, then the Secret Key. Copy the URL that the bot sent you - this is your personal Webhook URL - we'll need it in the next step.
Connect Binance Pay with your bot
Connect Binance Pay with your bot

Add a TGmembership Webhook

Go back to the "Developers" submenu and select "Webhooks". Add a new Webhook using the link from the previous step for Webhook URL.
Congratulations - Binance Pay has been successfully connected to your TGmembership bot.
Add a TGmembership Webhook
Add a TGmembership Webhook

Create an order

Just like with any other payment method, once your users launch the bot, they will be able to choose the plan they want to order. They will then be able to choose how they want to pay - Binance Pay will be one of the options on the list. It is important to know that Binance Pay can only work with two cryptocurrencies - BUSD and USDT. If your subscription plan is in USD, the same amount will be used. If the currency used by the plan is different, it will be automatically converted to USD according to the latest exchange rate. Users can choose which cryptocurrency to pay with. If the order is successfully created, the bot will send them a QR code, which they must scan to make the payment. In the next step we will explain how to use this code.
Your users can create new orders and choose to pay with Binance Pay
Your users can create new orders and choose to pay with Binance Pay
Your customers use the Binance mobile app to pay for the order
Your customers use the Binance mobile app to pay for the order

Order payment

All the customer has to do is confirm the order - you will receive the payment instantly.
Your customers use the Binance mobile app to pay for the order
Your customers use the Binance mobile app to pay for the order