HTML Payment Widget
Integrating Trybit via an HTML widget.
To start integrating, you need to create a project in your Trybit dashboard and obtain an API key and Shop ID — this data is needed to configure the interaction between your system and the platform, and to authorize requests.
The HTML widget is a ready-made payment form you can install on your website without API integration and without a developer. The customer simply chooses a currency, enters the amount and email — payment takes place in an embedded window (iframe), without redirecting to a separate page. You'll receive payment notifications in your dashboard, by email, on Telegram, and via POSTBACK if needed.
How to configure the widget
Configure the widget in the project settings, under "Payment Widget."
Choose the design and button text.
Optionally, set a fixed amount — or leave the field open so the customer enters the amount.
Choose the widget language.
Enable or disable the customer email field.
Copy the generated code.
How to add the form or button to your website
The widget can be installed using one of two methods — chosen in the same builder:
HTML form — the widget is displayed immediately as an embedded block on the page;
HTML button — only a button is shown on the page, and the payment form opens on click.
The generated code is inserted into your website's page code.
You can read more about the HTML widget in this section.
Where to place the permanent link
The same builder also lets you get not just embeddable code, but also a permanent link to a separate payment page with the same settings — without needing to embed any code on your website at all. This link is convenient to place wherever HTML code can't be inserted:
in a Telegram channel;
in a social media profile description;
in an email newsletter;
on a landing page or in an ad.
If you have any questions or need help, you can contact our support via chat on the website and in your personal account, as well as reach us on Telegram. Support contacts are listed on our website.
Last updated

