Updates to Error Codes and Messages When Requesting a Withdrawal

The BitMEX API has updated its error codes and messages for accounts that have withdrawal suspensions or bans in place. The following changes are now in place:

  • The API will return a 401 status code when a user’s withdrawals have been suspended. The error message will specify the time and date that the suspension will expire. The date and time will be specified as an ISO string, as in the example message below:
    Withdrawal ban expires at [ISODate]
  • The API will return a 403 status code when a user’s withdrawals have been disabled. In these cases a user should contact Customer Support to re-enable withdrawals.

If you have any further questions, please contact Support via our contact form.