> For the complete documentation index, see [llms.txt](https://hdsd2.entrade.com.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hdsd2.entrade.com.vn/entrade-api/tai-lieu-api-cu/5.-tu-dong-hoa-avatar-bot/5.3.-nap-tien-cho-bot.md).

# 5.3. Nạp tiền cho bot

<table><thead><tr><th width="410">URL</th><th>Method</th></tr></thead><tbody><tr><td><a href="https://services.entrade.com.vn/entrade-api/transactions">https://services.entrade.com.vn/entrade-api/transactions</a></td><td>POST</td></tr></tbody></table>

#### Request header

| Field         | Type        | Description         |
| ------------- | ----------- | ------------------- |
| Authorization | <p><br></p> | Bearer \<JWT Token> |

#### Request Body

| Field             | Type        | Description                 |
| ----------------- | ----------- | --------------------------- |
| investorId        | String      | Mã khách hàng               |
| investorAccountId | Int         | Mã tài khoản của khách hàng |
| data              | <p><br></p> | Bên dưới                    |

#### data (có dạng JSON, thêm vào request body)

| Field               | Type        | Description                                   |
| ------------------- | ----------- | --------------------------------------------- |
| investorId          | String      | Mã khách hàng                                 |
| investorAccountId   | Int         | Mã tài khoản của khách hàng                   |
| toInvestorAccountId | Int         | Mã tài khoản của bot (không phải số hiệu bot) |
| amount              | <p><br></p> | Số tiền nạp                                   |

#### Response Body

| Field             | Type        | Description                                    |
| ----------------- | ----------- | ---------------------------------------------- |
| id                | <p><br></p> | Số hiệu lệnh giao dịch                         |
| actor             | String      | Số điện thoại đăng kí tài khoản của khách hàng |
| investorId        | String      | Mã khách hàng                                  |
| investorAccountId | Int         | Mã tài khoản của khách hàng                    |
| …                 | <p><br></p> | <p><br></p>                                    |
