Create Transfer
POST
https://api.sfox.com/v1
/account/transfer
Transfer funds between your account's trading and collateral wallets.
Hedge long positions: Transfer funds to your collateral wallet so you can open a short position on the same currency in your trading wallet.
Transfers from your collateral wallet to your trading wallet will automatically settle unsettled positions, if applicable, first. The remainder, if any, will be applied to your trading wallet.
Body Parameters
currency
required
String
Currency to be transferred
quantity
required
String
Quantity to be transferred
from_wallet
required
String
Wallet being transferred from. Possible values:
trading
: your account's trading wallet
collateral
: your account's collateral wallet
to_wallet
required
String
Wallet being transferred to. Possible values:
trading
: your account's trading wallet
collateral
: your account's collateral wallet
Response Body
from_transaction_id
sFOX generated ID of the transaction debiting the source wallet of the transfer
to_transaction_id
sFOX generated ID of the transaction crediting the destination wallet of the transfer
currency
Currency that was transferred
quantity
Quantity of the currency that was transferred
from_wallet
Name of the source wallet (trading
or collateral
)
to_wallet
Name of the destination wallet (trading
or collateral
)
Responses
Example Requests
Last updated