Sub-Account

Withdrawl assets from the managed sub-account(For Investor Master Account)

Weight(IP): 1

post/sapi/v1/managed-subaccount/withdraw

Query parameters

fromEmailstring required

Sender email

assetstring required
Example:BTC
amountnumber double required
transferDateinteger

Withdrawals is automatically occur on the transfer date(UTC0). If a date is not selected, the withdrawal occurs right now

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Transfer id

tranIdinteger required

Example response

{
  "tranId": 66157362489
}

Changes

Changed in 1 of the 26 revisions of this API.36

  • a484ce871a7236See the full diff
    • for the query request parameter recvWindow, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter timestamp, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter transferDate, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

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

      request-parameter-type-generalized

    • the response property code became required for the status 400

      response-property-became-required

    • the response property code became required for the status 401

      response-property-became-required

    • the response property msg became required for the status 400

      response-property-became-required

    • the response property msg became required for the status 401

      response-property-became-required

    • the response property tranId became required for the status 200

      response-property-became-required