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
}
Sample Request
curl -X POST "https://api.lenmo.app/api/v3/loan_requests/$loan_request_id/make_offer/" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "X-Timestamp: REQUEST_TIMESTAMP" \
-H "X-HMAC: REQUEST_HMAC"
-d '{
"offered_interest": 0.3,
"automate_fund": true
}'
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