For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Name
Type
Description

id*

Long

The loan request id to be offered.

Headers

Name
Type
Description

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

Name
Type
Description

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
}
  1. If authentication credentials are invalid

    {
        "detail": "Authentication credentials were not provided."
    }
  2. If the investor is currently borrowing

    {
        "message": "Borrower can not offer."
    }

Cases:

  1. Offered interest is more than the loan request max interest rate

  2. The investor does not have sufficient balance to offer the loan (applicable only if automate_fund is True).

  3. The loan request has been canceled

  4. The loan request has been signed

  5. The investor already made an offer for this loan request

  6. Borrower accepted another offer

  7. The investor has no verified bank account.

Sample Request

Response Parameters

Parameter
Type
Description

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

Dict

Contains loan request details for this offer

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