Transfer between accounts
Transfer between accounts.
Transfer between accounts › Request Body
amountTransfer amount. Must be greater than 0 and respect the configured coin precision; excess precision returns -1160.
fromAccountTypeSource account type: UNIMARGIN (futures account), SPOT (spot account), or FUNDING (funding account).
toAccountTypeDestination account type. Uses the same values as fromAccountType and must be different from the source account.
coinAsset code.
bizIdBusiness ID. If specified, the business ID must contain 16-32 ASCII letters or numbers and may include the openapi_ prefix. The server adds the prefix if absent, stores and returns the final ID, or generates openapi_ plus 32 random characters when omitted.
paramsBusiness remark or additional information.
Transfer between accounts › Responses
Successful response
codeBusiness code. 0 indicates success.
msgResponse message.
bizIdBusiness ID used for the transfer.
resulttrue indicates a successful transfer.
transferIdTransfer ID. May be Null.
-2413Insufficient balance.
-2442Asset transfer failed.
-2443Asset transfer is processing. Retry with the same bizId.
-2444fromAccountType and toAccountType cannot be the same.
-2445bizId already exists. Reuse it only with the original request parameters.
-2446Legacy spot account is not supported. Use SPOT instead.
-2447bizId must contain 16 to 32 ASCII letters or digits, optionally prefixed with 'openapi_'.
-2452Exceeds the maximum amount available for transfer.
-1160Decimal precision error.