Get Default Loans
The investor can use this endpoint to fetch their loans in default status.
get
https://api.lenmo.app/api/v3
/loans/default_loan/
cURL
Python
curl -X GET "https://api.lenmo.app/api/v3/loans/default_loan/"
-H "accept: application/json"
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
1
import requests
2
import json
3
4
access_token = # Valid Token
5
6
#Fetch loans in default status for the investor
7
url = 'https://api.lenmo.app/api/v3/loans/default_loan/'
8
9
headers = {
10
'Accept': 'application/json',
11
'Authorization' : 'Bearer {}'.format(access_token)
12
}
13
14
r = requests.get(url, headers=headers)
15
16
print(r.text)
Parameter | Type | Description |
---|---|---|
borrower_card_color | Integer | An integer value that reflect the risk level of the borrower. |
loan_amount | Float | The amount of loan in USD |
payment_terms | Integer | Number of payments to pay back the loan |
monthly_payment_amount | Float | Payment amount in a month |
loan_return | Float | Loan return after it is paid off |
is_approved | Boolean | Approval status for the loan |
loan_paid_off | Boolean | Status on the completion of the loan |
loan_balance | Float | Current remaining loan balance to be paid off |
interest_rate | Float | A value between 0.03 to 2.0 for the interest rate of the loan |
Dict | Contains lender data for loan | |
next_payment_date | Date | UTC time for the upcoming loan payment |
Dict | Contains borrower data for loan | |
status | String | Current Loan Status |
loan_due_amount | Float | The loan due amount |
created_date | Date | UTC time for loan creation |
original_debt | Float | Amount of debt for this loan |
collected_amount | Float | Collected amount of the loan in USD |
remaining_debt | Float | Amount of debt to be collected later |
collection_fee | Float | Fee of collection |
collected_percentage | Float | Percentage of the collection amount |
net_collected | Float | The net value of the collection amount |
loan_request_id | Integer | Loan request id, associated with this loan |
Good to know: We advise that you refresh this en
Last modified 6mo ago