跳到主要内容

逐仓还款

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

描述

HTTP请求

  • POST /api/v2/margin/isolated/account/repay
请求示例
curl -X POST "https://api.bitget.com/api/v2/margin/isolated/account/repay" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" -d '{"coin": "USDT","repayAmount": "1","symbol":"BTCUSDT"}'

请求参数

参数名参数类型是否必须描述
repayAmountString还款数量,最长为8位小数
coinString还款币种
symbolString还款交易对,如BTCUSDT
clientOidString客户自定义订单ID
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1694588859956,
"data": {
"remainDebtAmount": "0",
"symbol": "BTCUSDT",
"repayId":"1234234234234",
"coin": "USDT",
"repayAmount": "1"
}
}

返回参数

返回字段参数类型字段说明
remainDebtAmountString剩余欠款
repayIdString客户端唯一标识 (暂时不支持)
symbolString交易对
coinString币种
repayAmountString还款金额

您的阅读体验如何?