Appearance
Edit Loan Rate
PUT
/v1/loans/rate
Updates a loan by modifying its minimum interest rate. The hourlyRate is a percentage (e.g., 0.00004%). Minimum and maximum values may change and can vary between currencies.
Authorizations
apiKey
Your API key
Type
API Key (header: X-VALR-API-KEY)
apiSignature
HMAC SHA512 signature of the request (see Authentication section)
Type
API Key (header: X-VALR-SIGNATURE)
apiTimestamp
Request timestamp in milliseconds
Type
API Key (header: X-VALR-TIMESTAMP)
Request Body
application/json
JSON
{
"currencySymbol": "USDC",
"hourlyRate": "0.0000126",
"loanId": "1289055810346737664"
}
Responses
Loan rate updated successfully