Get loan summaries
The Get loan summaries endpoint returns a summary by integration type of all loans identified from a company's accounting, banking, and commerce integrations.
The endpoint returns a list of a company's loan summaries for each valid data connection.
Make sure you have synced a company recently before calling the endpoint.
Response
OK
Example response
{
"reportInfo": {
"reportName": "LoanSummaryReport",
"companyName": "The Coffee shop",
"generatedDate": "2022-10-23T00:00:00Z"
},
"reportItems": [
{
"recordRef": {
"id": "string",
"dataConnectionId": "DE34E8E3-089F-4DF4-89E9-F7C43618FCAAA",
"integrationType": "Accounting",
"recordRefType": "accounts"
},
"description": "string",
"startDate": "2021-01-01",
"totalInvestments": 100000,
"totalRepayments": 83481.72,
"balance": 42513.18,
"lender": "Barclays Bank"
}
]
}Changes
Changed in 4 of the 51 revisions of this API.114
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ●
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
endpoint added
endpoint-added
- ○