Skip to main content

Manual Repay

info
  • If neither coin nor amount is passed in input parameter, then repay all the liabilities.
  • If coin is passed in input parameter and amount is not, the coin will be repaid in full.

HTTP Request

GET /v5/account/repay

Request Parameters

ParameterRequiredTypeComments
coinfalsestringcoin name, uppercase only
amountfalsestringRepay amount. If coin is not passed in input parameter, amount can not be passed in input parameter

Response Parameters

ParameterTypeComments
resultarrayObject
> resultStatusstring
  • P: Processing

Request Example

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
}