> For the complete documentation index, see [llms.txt](https://e-bot.card2k.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://e-bot.card2k.com/danh-sach-lenh/setup/nap-the-cao.md).

# Nạp thẻ cào

{% hint style="danger" %}
Lệnh nguy hiểm chỉ dành cho Owner (chủ server)
{% endhint %}

Quay lại server Discord của bạn đã thêm Bot để thiết lập Bot với Key đã chuẩn bị.

> 1. Sử dụng lệnh **`/setup`** trong bất kỳ kênh chat nào.

<figure><img src="/files/f7fgeej3UeWNyHUV4t05" alt="" width="551"><figcaption></figcaption></figure>

> 2. Điền các thông tin đã khởi tạo ở [bước 1](/huong-dan-setup/cau-hinh-bot/cau-hinh-nap-the-cao/tao-api-ket-noi.md)

{% hint style="warning" %}
**discount:** là mức phí người dùng phải chịu khi thanh toán thẻ cào.

Ví dụ: **Discount = 20**.

* Người dùng đổi thẻ 10.000 sẽ nhận được 8.000đ
  {% endhint %}

{% hint style="warning" %}
**log\_channel**: là kênh ghi nhận các hành động của người dùng khi thực hiện nạp thẻ.&#x20;

Bao gồm: Trạng thái gửi thẻ, ghi nhận lịch sử, vi phạm,...
{% endhint %}

<figure><img src="/files/fazhPnpO1EdihemK8CGt" alt=""><figcaption><p>Điền các thông tin setup bot</p></figcaption></figure>

> 3\. Thông báo cấu hình thành công.

<figure><img src="/files/ZEUnd0XuDtQ8CEAqeMBh" alt=""><figcaption><p>Thông báo cấu hình thành công</p></figcaption></figure>

> 3.1. Nếu API **chưa kích hoạt sẽ thông báo lỗi**. Hãy liên hệ CSKH ở [bước 2](/huong-dan-setup/cau-hinh-bot/cau-hinh-nap-the-cao/kich-hoat-api.md) để kích hoạt

<figure><img src="/files/Byydh9rDk9fakiTWtqFr" alt=""><figcaption><p>Thông báo lỗi khi chưa kích hoạt API</p></figcaption></figure>


---

# 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 dynamically by asking a question.

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

```
GET https://e-bot.card2k.com/danh-sach-lenh/setup/nap-the-cao.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.
