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

# 發送道具

> 發送道具 API 的請求參數、回應格式與回應訊息碼。

> [!NOTE]
>
> * 開放功能請洽詢我方商務。

## 請求路徑

```text theme={null}
POST {host}/api/v1.0/backpack/addProps
```

## Headers

<table>
  <colgroup>
    <col width="27%" />

    <col width="10%" />

    <col width="7%" />

    <col width="56%" />
  </colgroup>

  <thead><tr><th>欄位</th><th>型別</th><th>必填</th><th>說明</th></tr></thead>

  <tbody>
    <tr><td>`Authorization`</td><td>string</td><td>是</td><td>驗證令牌，由我方提供</td></tr>
    <tr><td>`Content-Type`</td><td>string</td><td>是</td><td>`multipart/form-data`</td></tr>
  </tbody>
</table>

## 請求參數

<table>
  <colgroup>
    <col width="27%" />

    <col width="10%" />

    <col width="7%" />

    <col width="11%" />

    <col width="45%" />
  </colgroup>

  <thead><tr><th>欄位</th><th>型別</th><th>必填</th><th>參與簽章</th><th>說明</th></tr></thead>

  <tbody>
    <tr><td>`account`</td><td>string</td><td>是</td><td>✓</td><td>玩家帳號 (多個以逗號隔開)</td></tr>
    <tr><td>`bonusCode`</td><td>string</td><td>是</td><td>✓</td><td>紅利代碼</td></tr>
    <tr><td>`channelId`</td><td>number</td><td>是</td><td>✓</td><td>渠道編號 (若無渠道，請帶入1)</td></tr>
    <tr><td>`copies`</td><td>number</td><td>是</td><td>✓</td><td>道具份數 (發送複數)</td></tr>
    <tr><td>`currency`</td><td>string</td><td>是</td><td>✓</td><td>幣別 (請洽詢我方商務)</td></tr>
    <tr><td>`gameId`</td><td>number</td><td>是</td><td>✓</td><td>遊戲編號</td></tr>
    <tr><td>`invalidTime`</td><td>string</td><td>是</td><td>✓</td><td>無效時間 (時區、格式請參考注意事項)</td></tr>
    <tr><td>`propsBet`</td><td>number</td><td>是</td><td>✓</td><td>道具押分</td></tr>
    <tr><td>`propsType`</td><td>number</td><td>是</td><td>✓</td><td>道具類型(1: 免費遊戲(特色)、2: 免費轉數、3: 獎勵遊戲、4: 彩金)</td></tr>
    <tr><td>`remark`</td><td>number</td><td>否</td><td>✓</td><td>整批道具備註</td></tr>
    <tr><td>`spinsNumber`</td><td>number</td><td>是</td><td>✓</td><td>免費轉數(只有道具類型為免費轉數才用)</td></tr>
    <tr><td>`startTime`</td><td>string</td><td>是</td><td>✓</td><td>開始時間 (時區、格式請參考注意事項)</td></tr>
    <tr><td>`sign`</td><td>string</td><td>是</td><td /><td>簽章，產生方式請參考[簽章規則](https://doc.va777.net/zh-Hant/v1/guides/signature.md)</td></tr>
  </tbody>
</table>

## 回應

成功（HTTP 狀態碼固定為 200，請以 `status.code` 判斷結果）

<table>
  <colgroup>
    <col width="34%" />

    <col width="12%" />

    <col width="54%" />
  </colgroup>

  <thead><tr><th>欄位</th><th>型別</th><th>說明</th></tr></thead>

  <tbody>
    <tr><td>`data`</td><td>string | null</td><td>此 API 不回傳資料</td></tr>
    <tr><td>`status`</td><td>object</td><td>回應狀態，請參考[回應格式](https://doc.va777.net/zh-Hant/v1/guides/request-format.md#回應格式)</td></tr>
  </tbody>
</table>

### 回應範例

```json theme={null}
{
  "data": {},
  "status": {
    "code": "0",
    "message": "success",
    "datetime": "2022-07-01T10:13:54.920+08:00",
    "traceCode": "7cf25e1957cc47fe8e01f1a7c6d504d6"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.