Offer Loan Requests
This endpoint is used to make an offer for a loan request, given a load request id.
post
https://api.lenmo.app/api/v3
/loan_requests/{id}/make_offer/
cURL
Python
curl -X POST "https://api.lenmo.app/api/v3/loan_requests/125944/make_offer/"
-H "accept: application/json"
-H "Content-Type: application/json"
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
-d "{ "offered_interest": "0.2"}"
1
import requests
2
import json
3
4
lq_id = 126315
5
access_token = # Valid Token
6
7
url='https://api.lenmo.app/api/v3/loan_requests/{}/make_offer/'.format(lq_id)
8
9
headers = {
10
'Accept': 'application/json',
11
'Authorization' : 'Bearer {}'.format(access_token)
12
}
13
14
body = {'offered_interest': 1}
15
16
r = requests.post(url, json = body, headers = headers)
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 |
Good to know: We advise that you refresh this en
Last modified 6mo ago