For the complete documentation index, see llms.txt. This page is also available as Markdown.

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."

  1. Choose the design and button text.

  2. Optionally, set a fixed amount — or leave the field open so the customer enters the amount.

  3. Choose the widget language.

  4. Enable or disable the customer email field.

  5. 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.

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.

Last updated