Skip to main content
POST
Rút tiền từ tài khoản

Ủy quyền

Authorization
string
header
bắt buộc

Bearer token used for protected REST API requests.

Tham số đường dẫn

accountID
string
bắt buộc

Mã tài khoản giao dịch. Người dùng đang đăng nhập phải có quyền truy cập tài khoản này.

Nội dung

application/json

Withdrawal payload. amount must be greater than zero and bankId must reference a saved bank account owned by the user.

Payload for withdrawing account equity to a saved bank account.

amount
number
bắt buộc

Withdrawal amount. Must be greater than zero and not exceed tradingPower.

Phạm vi bắt buộc: x > 0
bankId
string
bắt buộc

Saved bank account id to receive the withdrawal.

Phản hồi

Withdrawal result and updated account balances.

Response returned after a successful equity withdrawal.

status
string

success or failed.

account_id
string

Account that was debited.

amount
number

Withdrawal amount.

new_credit
number

Credit balance after withdrawal.

new_equity
number

Total equity after withdrawal.

trading_power
number

Trading power after withdrawal.

message
string

Human-readable result.