> For the complete documentation index, see [llms.txt](https://docs.tgshop.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tgshop.io/osnovnye-nastroiki/sposoby-oplaty/click.md).

# Click

В этой инструкции вы узнаете как подключить интеграцию с Click

{% hint style="info" %}
Данный способ оплаты может подключить к TGShop самозанятые лица, индивидуальные предприниматели (ИП), юридические лица (ООО, АО), малый, средний и крупный бизнес, желающий принимать платежи через Click.&#x20;
{% endhint %}

### Подайте заявку на подключение Click к магазину

1. Подайте заявку на подключение в сервисе [Click](https://click.uz/).
2. Дождитесь одобрения заявки и подпишите договор.&#x20;

### Настройте интеграцию с TGShop

1. Авторизуйтесь в [Личном кабинете Click](https://merchant.click.uz/).&#x20;
2. Перейдите в категорию **Сервисы** (слева в кабинете)
3. Нажмите на иконку карандаша в поле **Действие** (в крайней правой ячейке таблицы)
4. Пропишите реализованные адреса проверки ([https://backend.admin.tgshop.io/api/v1/click/webhook/prepare)](<https://backend.admin.tgshop.io/api/v1/click/webhook/prepare&#xA;&#xA;https://backend.admin.tgshop.io/api/v1/click/webhook/complete>) и результата ([https://backend.admin.tgshop.io/api/v1/click/webhook/complete](<https://backend.admin.tgshop.io/api/v1/click/webhook/prepare&#xA;&#xA;https://backend.admin.tgshop.io/api/v1/click/webhook/complete>)) (backend/callback URL).&#x20;
5. Скопируйте **SERVICE\_ID**, **MERCHANT\_ID,** **SECRET\_KEY**.
6. Перейдите в **Личный кабинет TGShop** -> **Настройки** -> **Оплата** -> **Онлайн-оплата** -> **Сlick**
7. Заполните появившееся поля и сохраните изменения.&#x20;
8. Далее уведомить поддержку Click, чтобы активировали Вам сервис (по умолчанию сервис отключен).


---

# 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.tgshop.io/osnovnye-nastroiki/sposoby-oplaty/click.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.
