跳到主要内容

逐仓一键还款

限速规则 10次/1s (UID)

描述

HTTP请求

  • POST /api/v2/margin/isolated/account/flash-repay
请求示例
curl -X POST "https://api.bitget.com/api/v2/margin/isolated/account/flash-repay" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{"symbolList": ["ETHUSDT"]}'

请求参数

参数名参数类型是否必须描述
symbolListList逐仓交易对数组
如不传,则默认全部交易对
一次请求最多传100个交易对
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1695619576187,
"data": [
{
"repayId": "3423423",
"symbol": "ETHUSDT",
"result": "success"
}
]
}

返回参数

返回字段参数类型字段说明
repayIdString还款id
symbolString杠杆交易对
resultStringsuccess 还款请求成功
failure 还款失败