Skip to main content

Initiate sub account transfer

POST 

/transfer/subaccount

This endpoint allows you to transfer funds between the current account and a sub account, between two margin accounts with the same collateral currency, or between a margin account and your cash account.

Request

Body

required
    fromUser stringrequired

    The user account (this or a sub account) from which funds should be debited

    toUser stringrequired

    The user account (this or a sub account) to which funds should be credited

    fromAccount stringrequired

    The wallet (cash or margin account) from which funds should be debited

    toAccount stringrequired

    The wallet (cash or margin account) to which funds should be credited

    unit stringrequired

    The currency unit to transfer

    amount stringrequired

    The amount to transfer

Responses

Schema
    oneOf
    result stringrequired

    Possible values: [success]

    serverTime date-timerequired

    Server time in Coordinated Universal Time (UTC)

Loading...