Skip to main content

Initiate sub account transfer

POST 

/v3/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 string

    The amount to transfer

Responses

Schema
    oneOf
    serverTime string

    Server time in Coordinated Universal Time (UTC)

    result string

    Possible values: [success]

Loading...