Redeem
HTTP Request
POST /spot/v3/private/redeem
Request Parameters
| Parameter | Required | Type | Comments |
|---|---|---|---|
| ltCode | true | string | Abbreviation of the LT. |
| ltQuantity | true | string | Redeem quantity |
| serialNo | false | string | Serial number. A kind of unique customised ID |
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| id | string | Transaction ID |
| ltCode | string | Abbreviation of the LT |
| orderAmount | string | Order value of the LT. Normally returns "" |
| orderQuantity | string | Order quantity of the LT |
| orderStatus | string | Order status; 1. Completed; 2. In progress; 3. Failed |
| quantity | string | Quantity. Normally returns "" |
| serialNo | string | Serial number |
| timestamp | number | Timestamp |
| valueCoin | string | Quote asset |
Request Example
curl --location --request POST 'https://api-testnet.bybit.com/spot/v3/private/redeem' \
--header 'Content-Type: application/json' \
--header 'X-BAPI-API-KEY: XXXXXXXXX' \
--header 'X-BAPI-TIMESTAMP: 1662605726010' \
--header 'X-BAPI-RECV-WINDOW: 5000' \
--header 'X-BAPI-SIGN: XXXXX' \
--data-raw '{
"ltCode": "DOT3LUSDT",
"ltQuantity": "50",
"serialNo": "r001"
}'
Response Example
{
"retCode": 0,
"retMsg": "success",
"result": {
"id": "2087",
"ltCode": "DOT3LUSDT",
"orderAmount": "",
"orderQuantity": "50",
"orderStatus": "2",
"quantity": "",
"serialNo": "r001",
"timestamp": 1662605726326,
"valueCoin": "DOT3L"
},
"retExtInfo": {},
"time": 1662605727987
}