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".
Select "via Direct Integration" and click the "Apply" button and follow the instructions to enter the dashboard.
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".
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 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.
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.
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.
Order payment
All the customer has to do is confirm the order - you will receive the payment instantly.
Last updated