> 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/button.md). Agents can also search and read this documentation through its [MCP server](https://docs.trybit.com/~gitbook/mcp).

# HTML-button

A cryptocurrency payment button for your website.

**The HTML button** is a variant of the HTML widget in which only a button is placed on the page. When clicked, a payment window opens on your website, without redirecting to the Trybit payment page. This option is convenient for product and service cards with a fixed price.

### How to configure the button

1. Open "My projects" → the relevant project → "Project settings" → "Payment widget".
2. In the "Widget type" field, select "Button".
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%2FN2k7VD2wOq4IGuA6EADR%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.31.40.png?alt=media&amp;token=c7f1ccfa-effe-4139-9162-ec82405d8092" alt="" width="563"><figcaption></figcaption></figure>

### Configurable parameters

| **Parameter**   | **What is configured**                                                                                                                                                     |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Button template | Design option: cc-paywith — label with currency icons; cc-paywithcurrency — round button with an extended set of currency icons; cc-paywithcc — label with the Trybit logo |
| Button text     | Button label                                                                                                                                                               |
| Button style    | Dark, light or colored                                                                                                                                                     |
| Widget size     | Standard or large                                                                                                                                                          |
| Payment amount  | Invoice amount and currency                                                                                                                                                |
| Widget language | Payment window language                                                                                                                                                    |

### How to install the button on your website

1. Copy the ready-made code below the preview window.
2. Paste the code into the page HTML — where the button should be.
3. Publish the changes and click the button on the page: the payment window with the specified amount should open.

### How payment works for the customer

1. The customer clicks the button — an invoice for the specified amount is created in the embedded window.
2. Selects a currency and network and sends a transfer using the payment details.
3. 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/button.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.
