Skip to main content

Redeem

Redeem leverage token

HTTP Request

POST /v5/spot-lever-token/redeem

Request Parameters

ParameterRequiredTypeComments
ltCointruestringAbbreviation of the LT, such as BTC3L
quantityturestringRedeem quantity of LT
serialNofalsestringSerial number

Response Parameters

ParameterTypeComments
ltCoinstringAbbreviation of the LT
ltOrderStatusstringOrder status. 1: completed, 2: in progress, 3: failed
quantitystringQuantity
execQtystringLT quantity
execAmtstringExecuted amount of LT
redeemIdstringOrder ID
serialNostringSerial number
valueCoinstringQuote coin

Request Example

POST /v5/spot-lever-token/redeem HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672296416024
X-BAPI-SIGN: XXXXX
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"ltCoin": "EOS3L",
"quantity": "150",
"serialNo": "redeem-001"
}

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"execAmt": "",
"execQty": "150",
"ltCoin": "EOS3L",
"ltOrderStatus": "2",
"quantity": "",
"redeemId": "2619",
"serialNo": "redeem-001",
"valueCoin": "EOS3L"
},
"retExtInfo": {},
"time": 1672296417363
}