{"msg":"-4019=The current currency is not open for withdrawal","success":false}

Hi
when trying to withdraw ANY coin (for example BUSD) i get this error
(manual withdraw is working correctly)

{“msg”:"-4019=The current currency is not open for withdrawal",“success”:false}
when i for example send url parameter coin=notListet i even get the same error

=> Plz help How can I withdraw coins via api endpoint?

happens with both endpoints sapi/v1/capital/withdraw/apply AND wapi/v3/withdraw.html

VERIFICATION

  • account not verified

API MANAGEMENT

  • Can Read=true
  • Enable Spot & Margin Trading=true
  • Enable Withdrawals=true
  • IP access restrictions: Restrict access to trusted IPs only (Recommended) => my ip is whitelisted (at same day)

security

  • mail
  • googleVerification

url = ‘/sapi/v1/capital/withdraw/apply
?coin=BUSD
&name=test
&transactionFeeFlag=true
&address=bnbxxx
&addressTag=xxx
&amount=11
&timestamp=xxx
&network=BEP2
&recvWindow=5000
&signature=xxx’

=> api/v1/capital/config/getall returns
{
coin: “BUSD”,
name: “BUSD”,
networkList: [
{
addressRegex: “^(bnb1)[0-9a-z]{38}$”,
coin: “BUSD”,
depositDesc: “”,
depositEnable: true,
isDefault: false,
memoRegex: “^[0-9A-Za-z\-_]{1,120}$”,
minConfirm: 1,
name: “BEP2”,
network: “BNB”,
resetAddressStatus: false,
specialTips:
“Both a MEMO and an Address are required to successfully deposit your BUSD BEP2 tokens to Binance.”,
unLockConfirm: 0,
withdrawDesc: “”,
withdrawEnable: true,
withdrawFee: “0.5”,
withdrawMin: “10”,
},
{
addressRegex: “^(0x)[0-9A-Fa-f]{40}$”,
coin: “BUSD”,
depositDesc: “”,
depositEnable: true,
isDefault: false,
memoRegex: “”,
minConfirm: 15,
name: “BEP20 (BSC)”,
network: “BSC”,
resetAddressStatus: false,
specialTips: “”,
unLockConfirm: 0,
withdrawDesc: “”,
withdrawEnable: true,
withdrawFee: “0”,
withdrawMin: “10”,
},
{
addressRegex: “^(0x)[0-9A-Fa-f]{40}$”,
coin: “BUSD”,
depositDesc: “”,
depositEnable: true,
isDefault: true,
memoRegex: “”,
minConfirm: 12,
name: “ERC20”,
network: “ETH”,
resetAddressStatus: false,
specialTips: “”,
unLockConfirm: 0,
withdrawDesc: “”,
withdrawEnable: true,
withdrawFee: “10”,
withdrawMin: “20”,
},
],
},

By checking BUSD’s “networkList” from ‘api/v1/capital/config/getall’, the default used network is “ETH” (name: “ERC20”), is your withdraw address on the same network?

Note: wapi/* will be delisted soon, recommend to only use sapi/* from now on.

the thing is that am explicitly specifying parameters

network
address
addressTag

so i dont use the default network at all

ist the sapi/v1/capital/withdraw/apply working at the moment - with any coin ?

Full request with your address masked pls

response: {
status: 400,
statusText: ‘’,
headers: {
‘content-type’: ‘application/json;charset=UTF-8’,
‘content-length’: ‘70’,
connection: ‘close’,
date: ‘Thu, 15 Apr 2021 22:09:59 GMT’,
server: ‘nginx’,
‘x-sapi-used-ip-weight-1m’: ‘1’,
‘strict-transport-security’: ‘max-age=31536000; includeSubdomains’,
‘x-frame-options’: ‘SAMEORIGIN’,
‘x-xss-protection’: ‘1; mode=block’,
‘x-content-type-options’: ‘nosniff’,
‘content-security-policy’: “default-src ‘self’”,
‘x-content-security-policy’: “default-src ‘self’”,
‘x-webkit-csp’: “default-src ‘self’”,
‘cache-control’: ‘no-cache, no-store, must-revalidate’,
pragma: ‘no-cache’,
expires: ‘0’,
‘x-cache’: ‘Error from cloudfront’,
via: ‘1.1 0fe4e9874d2e0d61c17aa980fd6da8ee.cloudfront.net (CloudFront)’,
‘x-amz-cf-pop’: ‘LHR61-C1’,
‘x-amz-cf-id’: ‘_z4i14GIG6NJrZeytUDA93-gG5UJcvHR7YbrnffV8YmhnaNxlcvGMw==’
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: ,
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: ‘’,
finished: true,
_headerSent: true,
socket: [TLSSocket],
_header: ‘POST /sapi/v1/capital/withdraw/apply?coin=BUSD&network=BEP2&address=bnbxxxxxxx&addressTag=xxxxxx&amount=11&recvWindow=60000&timestamp=1618524598721&signature=6c6eb638bb967e5da6ca8a0898536992bc3fade54c9fdfdee8e48692f2bc5c57 HTTP/1.1\r\n’ +
‘Accept: application/json, text/plain, /\r\n’ +
‘Content-Type: application/json\r\n’ +
‘X-MBX-APIKEY: xxx\r\n’ +
‘User-Agent: axios/0.21.1\r\n’ +
‘Host: api.binance.com\r\n’ +
‘Connection: close\r\n’ +
‘Content-Length: 0\r\n’ +
‘\r\n’,

_keepAliveTimeout: 0,
_onPendingData: [Function: noopPendingOutput],
agent: [Agent],
socketPath: undefined,
method: ‘POST’,
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: ‘/sapi/v1/capital/withdraw/apply?coin=BUSD&network=BEP2&address=bnbxxxxxxx&addressTag=xxxxxxx&amount=11&recvWindow=60000&timestamp=1618524598721&signature=6c6eb638bb967e5da6ca8a0898536992bc3fade54c9fdfdee8e48692f2bc5c57’,
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: ‘api.binance.com’,
protocol: ‘https:’,
_redirectable: [Writable],
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
data: {
code: -4019,
msg: ‘The current currency is not open for withdrawal’
}
},
isAxiosError: true,
toJSON: [Function: toJSON]
}

Incorrect name work name. BEP2=> BNB
Use this endpoint to get a full list of them - https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data

1 Like

Thanx a lot - now its finally working with these parameters
(i switched to binance smart chain network to avaid transaction fees)
{
coin: “BUSD”,
network: “BSC”, // Binance Smart Chain
address: “0x123456”, // Address on Binance Smart Chain
amount: “11”,
}