Repay Liability
You can manually repay the liabilities of Unified account
Applicable: Unified Account
Permission: USDC Contracts
HTTP Request
POST /v5/account/quick-repayment
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
coin | false | string | The coin with liability
|
Response Parameters
Parameter | Type | Comments |
---|---|---|
list | array | Object |
> coin | string | Coin used for repayment
|
> repaymentQty | string | Repayment qty |
Request Example
- HTTP
- Python
POST /v5/account/quick-repayment HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1701848610019
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
Content-Length: 22
{
"coin": "USDT"
}
Response Example
{
"retCode": 0,
"retMsg": "SUCCESS",
"result": {
"list": [
{
"coin": "BTC",
"repaymentQty": "0.10549670"
},
{
"coin": "ETH",
"repaymentQty": "2.27768114"
}
]
},
"retExtInfo": {},
"time": 1701848610941
}