Links

Fetch Banking Data

Fetch data aggregation associated with loan request.

HTTPS Request

post
https://api.lenmo.app/api/v3
/data_marketplace/data_aggregation/fetch_loan_request_data_aggs/

Sample Request

cURL
Python
curl -X POST "https://api.lenmo.app/api/v3/data_marketplace/data_aggregation/fetch_loan_request_data_aggs/"
-H "Accept: application/json"
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
-d "{\"loan_request_id\": 1}"
1
import requests
2
import json
3
4
access_token = # Valid Token
5
6
url = 'https://api.lenmo.app/api/v3/data_marketplace/data_aggregation/fetch_loan_request_data_aggs/'
7
8
headers = {
9
'Accept': 'application/json',
10
'Authorization' : 'Bearer {}'.format(access_token)
11
}
12
13
body = { 'loan_request_id': 1}
14
15
r = requests.post(url, json = body, headers = headers)
16
17
print(r.text)

Response Parameters

Parameter
Type
Description
created
Date
UTC time of data aggregation saved in the database.
borrower_bank_name_at_loan_request
String
Name of the borrower bank from which aggregation is fetched
borrower_bank_balance
String
Borrower balance in the bank provided the aggregation
data_aggregation
JSON Obj
JSON object containing the data aggregation from the borrower's bank. It contains aggregation data provided by fiserv. Please, refer to DepAcctTrnInqRsentry in fiserv client's response.
Good to know: We advise that you refresh this en