> ## 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]
>
> * 僅部份遊戲支援會員在線時取款。
> * 回應資訊包含取款前後的錢包餘額。
> * 單次取款金額上限為 99,999,999,999.99。
> * 若需單次取款超過上限，請通知我方客服。
> * 取款交易代碼應有withdraw-前綴。

## 請求參數

**transactionID** `string` *required*

交易代碼 (需為唯一值)

**channelID** `number` *required*

渠道編號 (若無渠道，請帶入1)

**account** `string` *required*

會員帳號 (允許字元:`a-z A-Z 0-9 _-`)

**currency** `string` *required*

幣別 (請洽詢我方商務)

**amount** `number` *required*

轉帳金額 (允許小數點後兩位)

**sign** `string` *required*

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

## 回應

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

**data** `object`

**屬性**

**transactionID** `string`

交易代碼

**channelID** `number`

渠道編號

**account** `string`

會員帳號

**amount** `number`

轉帳金額

**currency** `string`

幣別 (請洽詢我方商務)

**balanceBefore** `number`

轉帳前錢包餘額

**balanceAfter** `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": {
    "transactionID": "withdraw-hereIsYourTransId",
    "channelID": 1,
    "account": "player001",
    "amount": 10.0,
    "currency": "CNY",
    "balanceBefore": 30.0,
    "balanceAfter": 20.0
  },
  "status": {
    "code": "0",
    "message": "success",
    "datetime": "2022-07-04T23:13:54.920+08:00",
    "traceCode": "7cf25e1957cc47fe8e01f1a7c6d504d6"
  }
}
```


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