跳至主要内容

查詢投資計劃訂單列表

查詢當前用戶投資計劃下的申購 / 贖回 / 自動續投訂單列表,支持按投資計劃、產品類別、訂單類型、狀態及日期範圍等條件篩選。

信息

訂單按創建時間降序排列(最新訂單在前)。

HTTP 請求

GET/v5/earn/pwm/investment-plan/order

請求參數

參數是否必需類型說明
planIdfalsestring投資計劃ID,不傳返回全部計劃的訂單
categoryfalsestring產品類型篩選:flexibleSavings / fundPool / fundPoolPremium / equityFund / onchainEarn,不傳返回全部
typefalsestring訂單類型篩選:Subscribe / Redeem,不傳返回全部
statusfalsestring訂單狀態篩選:Completed(已完成)/ Pending(處理中)/ Failed(失敗),不傳返回全部
startTimefalsestring起始時間毫秒時間戳,不傳默認無限制
endTimefalsestring結束時間毫秒時間戳,不傳默認為當前時間
limitfalseint分頁大小,默認 20,最大 50
cursorfalsestring分頁游標
orderLinkIdfalsestring用戶自定義訂單ID,最長36字符

響應參數

參數類型說明
listarray訂單列表
> orderIdstring訂單唯一標識(UUID格式)
> planIdstring所屬投資計劃ID
> typestring訂單類型:Subscribe(申購)/ Redeem(贖回)/ AutoReinvest(自動續投)
> accountTypestring資金來源賬戶類型:Funding(資金賬戶)/ Unified(統一交易賬戶)
> coinstring訂單幣種,如 USDTBTC
> amountstring訂單金額(本位幣數量)
> categorystring產品類型:flexibleSavings / fundPool / fundPoolPremium / equityFund / onchainEarn
> productIdstring產品ID
> statusstring訂單狀態:Completed(已完成)/ Pending(處理中)/ Failed(失敗)
> orderTimestring訂單創建時間戳(毫秒),UTC時間
nextPageCursorstring下一頁游標,為空表示無更多數據

請求示例

GET /v5/earn/pwm/investment-plan/order?planId=10001&limit=20 HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1741651200000
X-BAPI-RECV-WINDOW: 5000

響應示例

{
"retCode": 0,
"result": {
"list": [
{
"orderId": "a285b975-9968-4ba0-bd78-58430ead715f",
"planId": "10001",
"type": "Subscribe",
"accountType": "Funding",
"coin": "USDT",
"amount": "100.0000",
"category": "flexibleSavings",
"productId": "11123",
"status": "Completed",
"orderTime": "1739519687000"
},
{
"orderId": "f463ad6e-263c-499a-aff6-70c23be846ef",
"planId": "10001",
"type": "Subscribe",
"accountType": "Funding",
"coin": "BTC",
"amount": "0.002000",
"category": "equityFund",
"productId": "11123",
"status": "Completed",
"orderTime": "1739519687000"
},
{
"orderId": "98dc5a11-a578-49c2-830f-fc5d8c317ea7",
"planId": "10005",
"type": "AutoReinvest",
"accountType": "Funding",
"coin": "BTC",
"amount": "10.409201",
"category": "fundPool",
"productId": "11123",
"status": "Completed",
"orderTime": "1739498401000"
}
],
"nextPageCursor": ""
}
}