Skip to main content

Purchase

Purchase levearge token

HTTP Request

POST /v5/spot-lever-token/purchase

Request Parameters

ParameterRequiredTypeComments
ltCointruestringAbbreviation of the LT, such as BTC3L
ltAmounttruestringPurchase amount
serialNofalsestringSerial number

Response Parameters

ParameterTypeComments
ltCoinstringAbbreviation of the LT, such as BTC3L
ltOrderStatusstringOrder status. 1: completed, 2: in progress, 3: failed
execQtystringExecuted qty of LT
execAmtstringExecuted amount of LT
amountstringPurchase amount
purchaseIdstringOrder ID
serialNostringSerial number, customised order ID
valueCoinstringQuote coin

Request Example

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

{
"ltCoin": "EOS3L",
"amount": "200",
"serialNo": "purchase-001"
}

Response Example

{
"retCode": 0,
"retMsg": "success",
"result": {
"amount": "200",
"execAmt": "",
"execQty": "",
"ltCoin": "EOS3L",
"ltOrderStatus": "2",
"purchaseId": "2611",
"serialNo": "purchase-001",
"valueCoin": "USDT"
},
"retExtInfo": {},
"time": 1672293867729
}