# 17. 申請撥轉MarginTransfer ( ) ## 函式 ``` MarginTransfer( string qTransfer, string qMarket string qIbno, string qAccount, string qPassword, string qAmount, string qFromCurrency, string qToCurrency, string qExchangeCurrency = null, string strSign = null, string CA = null, string oB2BID= null, string oCheckCodeFromSSO = null, string oToTalAccount = null) ``` ## 輸入 qTransfer:內外互轉<font color="#FF5353">(1-內轉外、2-外轉內)</font> qMarket:市場別<font color="#FF5353">(2-國內、5-國外)</font> qIbno:分公司代碼 qAccount:帳號 qPassword:交易密碼 qAmount:出金金額 qFromCurrency:出金前幣別<font color="#FF5353">(17-台幣、18-美元)</font> qToCurrency:出金後幣別<font color="#FF5353">(17-台幣、18-美元)</font> qExchangeCurrency:換匯註記<font color="#FF5353">(1-換匯、2-不換匯,預設為空值,若選擇換匯,會依台幣、美金、日圓、港幣、歐元、英鎊、澳幣、新加坡幣的換匯順序完成換匯)</font> strSign:簽章內容<font color="#FF5353">(B2B使用者需自行填入,一般使用者無須理會,預設為空值)</font> CA:憑證值<font color="#FF5353">(B2B使用者需自行填入,一般使用者無須理會,預設為空值)</font> oB2BID:客戶之ID <font color="#FF5353">(B2B使用者需自行填入,一般使用者無須理會,預設為空值)</font> oCheckCodeFromSSO:驗證碼<font color="#FF5353">(B2B使用者需自行填入由web登入所取得的值,一般使用者無須理會,預設為空值)</font> oToTalAccount:驗證帳號<font color="#FF5353">(B2B使用者需自行填入由web登入所取得的值,一般使用者無須理會,預設為空值)</font> ## 回傳 1. 透過Tranfer事件通知結果 2. 若查詢失敗透過Error事件送出錯誤內容 ## 說明 執行保證金撥轉申請 --- ###### tags: `下單API技術文件`