Manual Repay
info
- If neither
coin
noramount
is passed in input parameter, then repay all the liabilities. - If
coin
is passed in input parameter andamount
is not, the coin will be repaid in full.
HTTP Request
GET /v5/account/repay
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
coin | false | string | coin name, uppercase only |
amount | false | string | Repay amount. If coin is not passed in input parameter, amount can not be passed in input parameter |
Response Parameters
Parameter | Type | Comments |
---|---|---|
result | array | Object |
> resultStatus | string |
|
Request Example
- HTTP
- Python
- Node.js
POST /v5/account/repay HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1675842997277
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
{
"coin":"BTC",
"amount":"0.01"
}
Response Example
{
"retCode": 0,
"retMsg": "success",
"result": {
"resultStatus": "P"
},
"retExtInfo": {},
"time": 1756295680801
}