Get Borrower History
Retrieves all historical changes to the status of a borrower, with their effective date
Path parameters
-
borrower_id
string Required
Query parameters
-
calculation_date
null | string Status will be calculated as it was on this date. Format: YYYY-MM-DD will be considered as end of day.
GET
/v1/borrowers/{borrower_id}/get_history
curl \
--request GET 'https://lms.kordev.io/v1/borrowers/7dabe6cd-db31-45c7-a3fb-00f2dc7324dc/get_history'
Response examples (200)
{
"borrower_id": "7dabe6cd-db31-45c7-a3fb-00f2dc7324dc",
"calculation_date": "2024-01-01",
"records": [
{
"balance": 298000,
"bucket_status": "overdue",
"bucket_type": "principal",
"delta": 2000,
"effective_date": "2024-01-01T00:00:00-05:00",
"loan_id": "fc1f4edc-a653-4367-a5f2-a80543f3d6da",
"step_type": "PAYMENT_APPLICATION"
}
]
}
Response examples (400)
{
"code": 42,
"context": {},
"error": "string",
"status": "string"
}
Response examples (404)
{
"code": 42,
"context": {},
"error": "string",
"status": "string"
}
Response examples (409)
{
"code": 42,
"context": {},
"error": "string",
"status": "string"
}
Response examples (500)
{
"code": 42,
"context": {},
"error": "string",
"status": "string"
}