> For the complete documentation index, see [llms.txt](https://docs.trybit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trybit.com/buttons-forms/html-widget/form.md). Agents can also search and read this documentation through its [MCP server](https://docs.trybit.com/~gitbook/mcp).

# HTML-form

An embedded cryptocurrency payment form on your website page.

**The HTML form** is a variant of the HTML widget in which the payment block is displayed directly on the page. The customer enters the amount, selects a currency and pays the invoice in an embedded window without leaving your website.

### How to configure the form

1. Open "My projects" → the relevant project → "Project settings" → "Payment widget".
2. In the "Widget type" field, select "Form".
3. Configure the parameters — changes are immediately visible in the preview window.
4. Click "Save".

<figure><img src="https://2473321126-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZfSqUVTfJsB2NyMKnhq9%2Fuploads%2FUCDO057X4jSTXsSthXUs%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202026-10-15%20%D0%B2%2018.30.21.png?alt=media&amp;token=4dde1b15-18a4-46b6-97fb-2f1c21aed08c" alt="" width="563"><figcaption></figcaption></figure>

### Configurable parameters

| **Parameter**                    | **What is configured**                                                                                                                                                   |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Form style                       | Dark or light theme                                                                                                                                                      |
| Button                           | Payment button text                                                                                                                                                      |
| Field — "Request email"          | Whether to show the email field to the customer                                                                                                                          |
| Field — "Specify payment amount" | If checked, the "Payment amount" field with currency selection appears, and the specified amount is pre-filled in the form. If unchecked, the customer enters the amount |
| Widget language                  | Language of the form and the payment window                                                                                                                              |

### How to install the form on your website

1. Copy the ready-made code below the preview window.
2. Paste the code into the page HTML — where the form should be displayed.
3. Publish the changes and open the page: the form should be displayed, and clicking the button should open the payment window.

### How payment works for the customer

1. The customer enters the amount (if it is not fixed) and, if required, an email.
2. Clicks the payment button — an invoice is created in the embedded window.
3. Selects a currency and network and sends a transfer using the payment details.
4. After network confirmation, the invoice status changes to "Paid".

The payment window shows the project name, invoice number (INV), amount to pay and the invoice expiration timer. The approximate confirmation time is shown next to each network, and the customer can enable an email payment notification. After proceeding to payment, a QR code, the address and the exact transfer amount are shown, and the status can be checked with the transaction check button.

Payment notifications are delivered to the dashboard, by email and to Telegram, and with the "HTML widget (with postback)" method — via [POSTBACK](https://docs.trybit.com/api-reference-v2/postback.md).

{% hint style="success" %}
If you have any questions or need assistance, contact our support chat on the website and in the dashboard, or reach us on Telegram. Support contacts are listed on our [website](https://trybit.com/support).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.trybit.com/buttons-forms/html-widget/form.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
