VIP Loans

VIP Loan Borrow

VIP loan is available for VIP users only.

Weight(UID): 6000

post/sapi/v1/loan/vip/borrow

Query parameters

loanAccountIdinteger required
loanCoinstring
Example:BUSD

Coin loaned

loanAmountnumber float required
collateralAccountIdstring required
collateralCoinstring required
isFlexibleRate'TRUE' | 'FALSE' required
Example:TRUE
loanTerminteger
recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Collateral Assets Data

loanAccountIdstring required
requestIdstring required
loanCoinstring required
isFlexibleRatestring required
loanAmountstring required
collateralAccountIdstring required
collateralCoinstring required
loanTermstring

Example response

{
  "loanAccountId": "12345678",
  "requestId": "12345678",
  "loanCoin": "BTC",
  "isFlexibleRate": "No",
  "loanAmount": "100.55",
  "collateralAccountId": "12345678,12345678,12345678",
  "collateralCoin": "BUSD,USDT,ETH",
  "loanTerm": "30"
}

Changes

Changed in 2 of the 26 revisions of this API.24

  • 558ab69ec55523See the full diff
    • removed the enum value false from the query request parameter isFlexibleRate

      request-parameter-enum-value-removed

    • removed the enum value true from the query request parameter isFlexibleRate

      request-parameter-enum-value-removed

    • added the new enum value FALSE to the query request parameter isFlexibleRate

      request-parameter-enum-value-added

    • added the new enum value TRUE to the query request parameter isFlexibleRate

      request-parameter-enum-value-added

    • for the query request parameter isFlexibleRate, the type was generalized from boolean to string

      request-parameter-type-generalized

    • endpoint added

      endpoint-added