Skip to main content

Risk Unit Borrow(TRADE)

API Description

This endpoint is used to perform a borrow request for that specified risk unit. This endpoint is accessible only with the credit account API key.

HTTP Request

POST /sapi/v1/margin/loan-group/borrow

Request Weight

3000(UID)

Request Parameters

NameTypeMandatoryDescription
groupIdLONGYESRisk unit unique identifier
assetNameSTRINGYESAsset Name , USDT or USDC
amountDECIMALYES

Response Example

{ 
"transactionId": 12317283617,
"amount": 123456.78,
"status": "success"
}

Response detail description

ParameterTypeDescription
transactionIdStringTransaction ID
amountDECIMALThe amount borrowed
statusStringsuccess: Borrow Successfully

Error Code

  • -27009: The requested borrow amount exceeds the maximum allowed limit.