> ## 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.

# 取得玩家提領紀錄

> [!NOTE]
>
> * 數據保留 60 天，每次搜尋時間區間小於等於 15 分鐘。

## 請求參數

**channelID** `number` *required*

渠道編號 (帶入0代表查詢全部渠道)

**startTime** `string` *required*

開始時間 (時區、格式請參考[API注意事項](https://doc.va777.net/guides/request-format.md#時間格式))

**endTime** `string` *required*

結束時間 (時區、格式請參考[API注意事項](https://doc.va777.net/guides/request-format.md#時間格式))

**nextToken** `string`

查詢憑證 (初次查詢帶入空白，之後應帶入前一次結果的nextToken)

**maxResults** `number` *required*

返回限制筆數 (最小2000筆，最大5000筆)

**sign** `string` *required*

簽章，產生方式請參考[簽章規則](https://doc.va777.net/guides/signature.md)

## 回應

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

**data** `object`

**屬性**

**withdrawList** `object[]`

提領列表

**屬性**

**eventID** `string`

活動編號

**grantID** `string`

派發卡編號

**trsID** `string`

派彩錢包異動編號 (唯一)

**channelID** `number`

渠道編號

**account** `string`

會員帳號

**currency** `string`

幣別(請洽詢我方商務)

**triggerRecordID** `string`

觸發此派彩的下注紀錄編號；triggerType=EXPIRE\_SETTLE時為空

**triggerType** `string`

觸發類型 (PER\_SPIN / FINAL\_SETTLE / EXPIRE\_SETTLE)

**before** `number`

派彩前玩家餘額

**withdrawalAmount** `number`

派彩金額

**after** `number`

派彩後玩家餘額

**settledAt** `string`

派彩時間 (時區、格式請參考[API注意事項](https://doc.va777.net/guides/request-format.md#時間格式))

**nextToken** `number`

下次查詢憑證(最後一次查詢返回空字串)

**maxResults** `number`

返回限制筆數

**total** `number`

本次查詢總筆數

**status** `object`

每次回應都會附帶的請求處理狀態

**屬性**

**code** `string`

回應訊息碼，請參照[回應訊息碼](https://doc.va777.net/reference/response-codes.md)

**message** `string`

回應詳細訊息

**datetime** `string`

請求接收時間，格式為 RFC3339

**traceCode** `string`

回應追蹤碼（唯一值），供雙方比對回應內容

```json 200 theme={null}
{
  "data": {
    "withdrawList": [
      {
        "eventID": "abccc1234567890aaaaa1254",
        "grantID": "abcaa1234567890aaaaa3333",
        "trsID": "test1231231",
        "channelID": 1,
        "account": "test123",
        "currency": "CNY",
        "triggerRecordID": "efr34123",
        "triggerType": "PER_SPIN",
        "before": 23.59,
        "withdrawalAmount": 1,
        "after": 24.59,
        "settledAt": "2022-07-01T10:13:54.920+08:00"
      }
    ],
    "nextToken": "gdfv5451gg5574fs",
    "maxResults": 2000,
    "total": 2000
  },
  "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.