Skip to navigation

Create lending offer

This endpoint creates a lending offer.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
annualPercentageYieldstringOptionalformat: "uint64"

The interest rate of the to create lending offer, based on 5 decimals. Example: 525000 corresponds to 5.25% annual percentage yield

durationstringOptional
collateralRequirementlist of objectsOptional
currencyIDstringOptional
The currency ID of the to create lending offer
amountstringOptional

Response

A successful response.
offerIDstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error