Skip to main content

Transfer cash between the spot balance and the margin sub-account.

POST 

/v1/margin/transfer

Moves settlement-asset cash between the account's spot balance and its margin sub-account. direction is in (spot → margin) or out (margin → spot). Accepted for sequencing (202): the engine's verdict is asynchronous and a rejected transfer applies nothing. Outbound transfers are bounded by the engine's margin_withdrawable gate (GET /v1/margin_info). The authenticated account is the only account whose margin can move — a mismatched account_id in the body is rejected forbidden.

Request

Responses

Accepted for sequencing. status is always accepted; the engine's apply/reject verdict is asynchronous.