> For the complete documentation index, see [llms.txt](https://jihsunfutures.gitbook.io/jsfapi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jihsunfutures.gitbook.io/jsfapi/han-shi/chapter18.md).

# 18、取消出金申請 CancelMarginWithdraw ( )

## 函式

```
CancelMarginWithdraw (
    string qMarket,
    string qIbno,
    string qAccount, 
    string qPassword, 
    string qSetCurrency,
    string[] SEQNOIDX,
    string qFromTxDate = null,
    string qToTxDate = null, 
    string qFromCurrency = null, 
    string qToCurrency = null,
    string strSign = null,
    string CA = null,
    string oB2BID= null,
    string oCheckCodeFromSSO = null,
    string oToTalAccount = null
)
```

## 輸入

qMarket：市場&#x5225;*(2-國內、5-國外)*

qIbno：分公司代碼

qAccount：帳號

qPassword：交易密碼

qSetCurrency：查詢幣&#x5225;*(17-台幣、18-美元)*

SEQNOIDX：取消出金序&#x865F;*(國內輸入出金序號，例: 0001,0002，國外輸入出金序號/日期，例: 0001/20180324, 0002/20180326)*

qFromTxDate：開始時&#x9593;*(YYYYMMDD)*

qToTxDate：結束時&#x9593;*(YYYYMMDD)*

qToCurrency：出金後幣&#x5225;*(17-台幣、18-美元，國內無須填入，預設為空值)*

qFromCurrency：出金前幣&#x5225;*(17-台幣、18-美元，國內無須填入，預設為空值)*

strSign：簽章內&#x5BB9;*(B2B使用者需自行填入，一般使用者無須理會，預設為空值)*

CA：憑證&#x503C;*(B2B使用者需自行填入，一般使用者無須理會，預設為空值)*

oB2BID：客戶之ID *(B2B使用者需自行填入，一般使用者無須理會，預設為空值)*

oCheckCodeFromSSO：驗證&#x78BC;*(B2B使用者需自行填入由web登入所取得的值，一般使用者無須理會，預設為空值)*

oToTalAccount：驗證帳&#x865F;*(B2B使用者需自行填入由web登入所取得的值，一般使用者無須理會，預設為空值)*

## 回傳

1. 透過CancelWithdraw事件通知結果
2. 若查詢失敗透過Error事件送出錯誤內容

## 說明

執行取消保證金出金申請
