跳至主要内容

確認報價

信息
  1. 該接口是異步的, 請通過查詢請求確認最終兌換結果
  2. 確保您在報價單過期前確認該報價, 否則失效

HTTP 請求

POST /v5/asset/exchange/convert-execute

請求參數

參數是否必需類型說明
quoteTxIdtruestring報價單ID, 來自於提交報價的響應

響應參數

參數類型說明
quoteTxIdstring報價單ID
exchangeStatusstring兌換狀態
  • init
  • processing
  • success
  • failure
  • 請求示例

    POST /v5/asset/exchange/convert-execute HTTP/1.1
    Host: api-testnet.bybit.com
    X-BAPI-SIGN: XXXXXX
    X-BAPI-API-KEY: XXXXXX
    X-BAPI-TIMESTAMP: 1720071899789
    X-BAPI-RECV-WINDOW: 5000
    Content-Type: application/json
    Content-Length: 52

    {
    "quoteTxId": "10100108106409343501030232064"
    }

    響應示例

    {
    "retCode": 0,
    "retMsg": "ok",
    "result": {
    "exchangeStatus": "processing",
    "quoteTxId": "10100108106409343501030232064"
    },
    "retExtInfo": {},
    "time": 1720071900529
    }