Offer Loan Requests
This endpoint is used to make an offer for a loan request, given a loan request id.
HTTPS Request
POST https://api.lenmo.app/api/v3/loan_requests/{id}/make_offer/
Path Parameters
id*
Long
The loan request id to be offered.
Headers
Accept
String
The content type of the response.
X-API-KEY*
String
The API key that gives the user the authentication to perform this request.
X-Timestamp*
String
The timestamp of the request.
X-HMAC*
String
The HMAC generated for the request.
Request Body
offered_interest*
Float
A Float value between 0.03 and 2.0
automate_fund
Boolean
Boolean flag to specify whether to automatically fund the loan after offer acceptance (defaults to false if not provided).
{
"id": 1,
"offered_interest": 0.03,
"offer_status": "pending",
"lender": {
// ...lender data...
},
"loan_request": {
// ...loan request data...
},
"monthly_payment": 100,
"loan_gain": 100.02,
"created": "2022-05-27T10:37:14.658672Z",
"offer_status_changed": "2020-05-06 17:25:01 Etc/GMT",
"processed_on_dwolla": true,
"automate_fund": true
}If authentication credentials are invalid
{ "detail": "Authentication credentials were not provided." }If the investor is currently borrowing
{ "message": "Borrower can not offer." }
Cases:
Offered interest is more than the loan request max interest rate
The investor does not have sufficient balance to offer the loan (applicable only if automate_fund is True).
The loan request has been canceled
The loan request has been signed
The investor already made an offer for this loan request
Borrower accepted another offer
The investor has no verified bank account.
Sample Request
Response Parameters
id
Long
Offer id
offered_interest
Float
The interest rate of the offer
offer_status
String
Status of the offer .e.g pending, accepted, rejected, expired ..
lender
Dict
Contains lender data for loan
monthly_payment
Float
Monthly payment of the offer
loan_gain
Float
The loan gain of the offered loan request
created
Date
UTC time of the offer creation on the database
offer_status_changed
Date
UTC time of the last action took on this offer
processed_on_dwolla
Boolean
Status of transfer associated with the offer
Last updated