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

{
    "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
}

Sample Request

curl -X GET "https://api.lenmo.app/api/v3/loan_requests/" \
    -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"

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