Sub-Account

Enable Margin for Sub-account (For Master Account)

Weight(IP): 1

post/sapi/v1/sub-account/margin/enable

Query parameters

emailstring required

Sub-account email

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Margin status

emailstring required
isMarginEnabledboolean required

Example response

{
  "email": "123@test.com"
}

Changes

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

  • a484ce871a7226See 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

    • 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 email became required for the status 200

      response-property-became-required

    • the response property isMarginEnabled became required for the status 200

      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