獲取現貨自動還款模式
獲取現貨自動還款模式
信息
如果沒有指定 currency 參數,則返回所有貨幣自動還款模式。
HTTP 請求
GET /v5/spot-margin-trade/get-auto-repay-mode
請求參數
| 參數 | 是否必需 | 類型 | 說明 |
|---|---|---|---|
| currency | false | string | 幣名稱,僅限大寫. 如果沒有指定 currency 參數,則返回所有貨幣自動還款模式。 |
響應參數
| 參數 | 類型 | 說明 |
|---|---|---|
| data | array | Object |
| > currency | string | 幣名稱,僅限大寫. |
| > autoRepayMode | string |
|
請求示例
- HTTP
- Python
- Node.js
GET /v5/spot-margin-trade/get-auto-repay-mode?currency=ETH HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1672299806626
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
響應示例
{
"retCode": 0,
"retMsg": "Success",
"result": {
"data": [
{
"autoRepayMode": "1",
"currency": "ETH"
}
]
},
"retExtInfo": {},
"time": 1766977353904
}