Creating a product for payment

Creating a product for paymentTo create a payment method lava.top in your Telegram bot, you need to create a product and select a dynamic price for the product that is shown in the screenshot

Copying product ID

Copying product IDThe second step to set up payments will be to copy the product ID in lava.top. Then go to the bot and paste the ID there

Releasing a key for the lava-top

Releasing a key for the lava-topAs soon as we enter the product ID key, we generate the token shown in the screenshot and proceed to API setup

API setup

API setupGo to the tab shown in the screenshot and generate your API key, which needs to be entered into the Bot-T system, preferably right away so as not to lose it

Setting up a webhook for the API

Setting up a webhook for the APIAs soon as we inserted the API, we need to move on to setting up the webhook.
Remember we generated a token in bot t? — it's time to enter it when adding the webhook.

And add our API URL key -
https://api.bot-t.com/payment/lava-gate

Select the condition - payment result

The screenshot shows the setup

Payment method verification

Payment method verificationAs soon as we have completed all the steps, we check our payment by clicking the "Check functionality" button. If everything is good, a link to a test payment will appear for you (see screenshot).

Create a bot:
free of charge and without programming knowledge BOT-T.COM