# CoinPayments

Проходим регистрацию в <https://www.coinpayments.net/>

После входа нужно пройти [CoinPayments Identity Verification](https://blog.coinpayments.net/resources/coinpayments-identity-verification-kyc-tutorial-how-to-complete-your-verification-process) (KYC)

Далее идем в Базовые Настройки <https://www.coinpayments.net/acct-settings>

### Получаем ключи api

Вам нужно получить 2 api кода - Ваш ID Продавца и IPN Secret

<figure><img src="/files/IcAXNl5RlYyA7wccoGs1" alt=""><figcaption><p>1) Ваш ID Продавца</p></figcaption></figure>

Переходим на вкладку Настройки Продавца и придумываем и вводим секретный ключ IPN - **IPN secret** (Это используется для подтверждения, что вебхук исходит от нас, используйте надежную сложную строку, которую будет сложно угадать)

<figure><img src="/files/ujsJCDoCvrEmh7v5baSw" alt=""><figcaption><p>2) IPN Secret</p></figcaption></figure>

### Сохраняем настройки в боте

Далее идем в настройки вашего бота на платформе [LessonDelivery](https://cp.lessondelivery.com/panel/) и сохраняем Ваш ID Продавца и IPN secret. Делаем Включить для метода пдаетжа и по желанию пишем текст кнопки Оплаты, она будет видна в боте.

<figure><img src="/files/DO17X2wmOMxtsBGivZ5Z" alt=""><figcaption><p>Таб Оплата в настройках бота</p></figcaption></figure>

Настройка платежей в боте [под ключ](/services/bot-offer.md).


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lessondelivery.com/howto/wiki/payments/coinpayments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
