Skip to main content

VIP Loan Fixed Rate Borrow(TRADE)

API Description

Submit a fixed rate borrow request by matching market supply orders.

HTTP Request

POST /sapi/v1/loan/vip/fixed/borrow

Request Weight(UID)

6000

Request Parameters

NameTypeMandatoryDescription
supplyRequestSTRINGYESSupply request string, positional encoding (no key). Multiple entries separated by ;, fields separated by :, order: <requestId>:<interestRate>:<amount>. Example: 1212:0.12:100;3434:0.13:50
borrowCoinSTRINGYESBorrow coin
loanTermINTEGERYESLoan term in days
borrowUidLONGYESBorrow receiving account UID
collateralCoinSTRINGYESCollateral coin(s), multiple separated by ,. Only coin names, no amount (VIP loan collateral amount = entire spot account balance)
collateralAccountIdSTRINGYESCollateral account ID(s), multiple separated by ,
autoRepayBOOLEANNODefault: true. true: auto repay at expiration; false: auto-convert to flexible (floating rate) at expiration
recvWindowLONGNOThe value cannot be greater than 60000
timestampLONGYES
  • Rate limit: 2 requests per second per account.
  • When multiple supplyRequest entries are provided, all requestId values must correspond to the same borrowCoin and loanTerm (validated by collateral facade).

Response Example

{
"borrowCoin": "BUSD",
"borrowAmount": "100.5",
"actualReceivedAmount": "98.75",
"collateralCoin": "BNB,ETH,BTC",
"collateralAccountId": "12345,67890,13579",
"borrowInterestRate": "0.01501231",
"duration": "30Days",
"autoRepay": true,
"orderId": 123456789,
"status": "Succeeds"
}

Response Fields:

NameTypeDescription
borrowCoinSTRINGEcho of input parameter
borrowAmountDECIMALActual total borrow amount (aggregated when multiple supplyRequest)
actualReceivedAmountDECIMALActual received amount
collateralCoinSTRINGEcho of input parameter, comma-separated
collateralAccountIdSTRINGEcho of input parameter, comma-separated
borrowInterestRateDECIMALActual borrow interest rate (weighted average when multiple)
durationSTRING{loanTerm}Days, e.g. "30Days"
autoRepayBOOLEANEcho of input parameter
orderIdLONGOrder ID
statusSTRINGSucceeds / Failed / Processing