Sub-Account

Transfer for Sub-account (For Master Account)

Weight(IP): 1

post/sapi/v1/sub-account/futures/transfer

Query parameters

emailstring required

Sub-account email

assetstring required
Example:BTC
amountnumber double required
typeinteger required
  • 1 - transfer from subaccount's spot account to its USDT-margined futures account
  • 2 - transfer from subaccount's USDT-margined futures account to its spot account
  • 3 - transfer from subaccount's spot account to its COIN-margined futures account
  • 4 - transfer from subaccount's COIN-margined futures account to its spot account
recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Transfer id

txnIdstring required

Example response

{
  "txnId": "2966662589"
}

Changes

Changed in 2 of the 26 revisions of this API.726

  • 558ab69ec55542See the full diff
    • removed the enum value 1.00 from the query request parameter type

      request-parameter-enum-value-removed

    • removed the enum value 2.00 from the query request parameter type

      request-parameter-enum-value-removed

    • removed the enum value 3.00 from the query request parameter type

      request-parameter-enum-value-removed

    • removed the enum value 4.00 from the query request parameter type

      request-parameter-enum-value-removed

    • for the query request parameter type, the max was set to 4.00

      request-parameter-max-set

    • for the query request parameter type, the min was set to 1.00

      request-parameter-min-set

  • a484ce871a7236See the full diff
    • for the query request parameter recvWindow, the format changed from no format to int64

      request-parameter-type-changed

    • for the query request parameter timestamp, the format changed from no format to int64

      request-parameter-type-changed

    • for the query request parameter type, the format changed from no format to int32

      request-parameter-type-changed

    • for the query request parameter amount, the format was generalized from float to double

      request-parameter-type-generalized

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required