> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tronrental.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 购买套餐

> 使用账户余额购买转账套餐

## 购买转账套餐

使用您的账户余额购买转账套餐。

### 请求体

<ParamField body="address" type="string" required>
  要监控的 TRON 地址
</ParamField>

<ParamField body="size" type="number" required>
  转账笔数（1 – 10,000）
</ParamField>

<ParamField body="bw_guarantee" type="boolean" default="true">
  启用带宽保障
</ParamField>

### 响应

返回创建的套餐对象，包含 `id`、`address`、`remaining_transfers`、`status` 和 `price_trx`。

### 示例

```bash theme={null}
curl -X POST https://api.tronrental.com/v1/transfer-packages/buy \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "TYourAddress...",
    "size": 500,
    "bw_guarantee": true
  }'
```

```json Response theme={null}
{
  "id": 101,
  "address": "TYourAddress...",
  "total_transfers": 500,
  "remaining_transfers": 500,
  "bw_guarantee": true,
  "price_trx": "1350.00",
  "status": "active",
  "created_at": "2026-03-05T12:00:00Z"
}
```

<Info>
  您也可以通过 `POST /api/v1/transfer-packages/buy-invoice` 使用账单付款 —
  这将生成一个用于 TRX/USDT 付款的地址。
</Info>
