Get Auto Repay Mode
Get spot automatic repayment mode
info
If currency is not passed, automatic repay mode for all currencies will be returned.
HTTP Request
GET /v5/spot-margin-trade/get-auto-repay-mode
Request Parameters
| Parameter | Required | Type | Comments |
|---|---|---|---|
| currency | false | string | Coin name, uppercase only. If currency is not passed, automatic repay mode for all currencies will be returned. |
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| data | array | Object |
| > currency | string | Coin name, uppercase only. |
| > autoRepayMode | string |
|
Request Example
- 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
Response Example
{
"retCode": 0,
"retMsg": "Success",
"result": {
"data": [
{
"autoRepayMode": "1",
"currency": "ETH"
}
]
},
"retExtInfo": {},
"time": 1766977353904
}