GetWithdrawFee

Category: User Permissions: Operator, Trading, Withdraw Call Type: Synchronous

Gets an estimate of a fee for a withdrawal. The Products function of the AlphaPoint Admin can set withdraw fees OMS-wide. You can also set a withdraw fee programmatically using SetOMSFee, but SetOMSFee is a System (not User) call with permission reserved to an exchange operator. Exchange-wide withdrawal fees cannot be overridden.

A user with Trading or Withdraw permissions can obtain withdrawal fee estimates only for products and accounts with which the user is associated; a user with Operator permission can obtain withdrawal fee estimates for any product or account.

Request

{
    "OMSId": 1,
    "AccountId": 1,
    "ProductId": 1,
    "Amount": 1
}
KeyValue

OMSId

integer. The ID of the Order Management System trading the product.

AccountId

integer. The ID of the account making the withdrawal.

ProductId

integer. The ID of the product intended to be withdrawn. Fees may vary with product.

Amount

real. The amount of product intended to be withdrawn.

Response

{
    "FeeAmount":1.06
}
KeyValue

FeeAmount

real. The estimated amount of the fee for the indicated withdrawal.

Last updated