Skip to main content

Cancel Withdrawal

Cancel the withdrawal

HTTP Request

POST /v5/asset/withdraw/cancel

Request Parameters

ParameterRequiredTypeComments
idtruestringWithdrawal ID

Response Parameters

ParameterTypeComments
statusinteger0: fail. 1: success

Request Example

POST /v5/asset/withdraw/cancel HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672197227732
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXX
Content-Type: application/json

{
"id": "10197"
}

Response Example

{
"retCode": 0,
"retMsg": "success",
"result": {
"status": 1
},
"retExtInfo": {},
"time": 1672197228408
}