Get Borrower Events

GET /v1/borrowers/{borrower_id}/get_events

Retrieves all borrower events

Responses

GET /v1/borrowers/{borrower_id}/get_events
curl \
 --request GET 'https://sandbox.lms.kordev.io/v1/borrowers/7dabe6cd-db31-45c7-a3fb-00f2dc7324dc/get_events'
Response examples (200)
{
  "borrower_id": "7dabe6cd-db31-45c7-a3fb-00f2dc7324dc",
  "events": {
    "loan_balance_adjusted": [
      {
        "balance_adjustment": {
          "bucket_adjustments": {
            "additionalProperty1": {
              "additionalProperty1": 42,
              "additionalProperty2": 42
            },
            "additionalProperty2": {
              "additionalProperty1": 42,
              "additionalProperty2": 42
            }
          },
          "effective_date": "2025-05-04T09:42:00Z",
          "loan_id": 42
        },
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z"
      }
    ],
    "loan_cancellation_reverted": [
      {
        "cancellation_reversal": {
          "cancellation_id": 42,
          "effective_date": "2025-05-04T09:42:00Z"
        },
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z"
      }
    ],
    "loan_cancelled": [
      {
        "id": 42,
        "loan_cancellation": {
          "effective_date": "2025-05-04T09:42:00Z",
          "external_id": null,
          "id": 42,
          "ledger_mapping": "string",
          "loan_id": 42
        },
        "occurred_on": "2025-05-04T09:42:00Z"
      }
    ],
    "loan_charged_off": [
      {
        "id": 42,
        "loan_chargeoff": {
          "effective_date": "2025-05-04T09:42:00Z",
          "id": 42,
          "loan_id": 42
        },
        "occurred_on": "2025-05-04T09:42:00Z"
      }
    ],
    "loan_consolidated": [
      {
        "id": 42,
        "loan_consolidation": {
          "consolidation_config": "string",
          "daily_fee_charge": 42,
          "delinquency_interest_rate": 42.0,
          "due_dates": [
            "2025-05-04T09:42:00Z"
          ],
          "effective_date": "2025-05-04T09:42:00Z",
          "external_id": "string",
          "id": 42,
          "interest_rate": 42.0,
          "loan_config": "string",
          "original_loans": [
            42
          ],
          "owner": "string"
        },
        "occurred_on": "2025-05-04T09:42:00Z"
      }
    ],
    "loan_consolidation_cancelled": [
      {
        "id": 42,
        "loan_consolidation_cancellation": {
          "effective_date": "2025-05-04T09:42:00Z",
          "loan_consolidation_id": 42
        },
        "occurred_on": "2025-05-04T09:42:00Z"
      }
    ],
    "loan_originated": [
      {
        "id": 42,
        "loan": {
          "amount_financed": 42,
          "config_name": "string",
          "daily_fee_charge": 42,
          "delinquency_interest_rate": 42.0,
          "due_dates": [
            "2025-05-04T09:42:00Z"
          ],
          "external_id": "string",
          "id": 42,
          "installment_fee_2_charge": 42,
          "installment_fee_charge": 42,
          "installment_fee_type": "string",
          "interest_rate": 42.0,
          "origination_date": "2025-05-04T09:42:00Z",
          "owner": "string"
        },
        "occurred_on": "2025-05-04T09:42:00Z"
      }
    ],
    "loan_restructured": [
      {
        "id": 42,
        "loan_restructuring": {
          "amortization_method": null,
          "amount_financed": null,
          "config_id": "string",
          "delinquency_interest_rate": null,
          "due_dates": [
            "2025-05-04T09:42:00Z"
          ],
          "effective_date": "2025-05-04T09:42:00Z",
          "external_id": "string",
          "id": 42,
          "installment_fee": null,
          "installment_fee_2": null,
          "interest_rate": null,
          "ledger_mapping": "string",
          "loan_id": 42,
          "manual_pmts": {
            "additionalProperty1": 42,
            "additionalProperty2": 42
          }
        },
        "occurred_on": "2025-05-04T09:42:00Z"
      }
    ],
    "manual_chargeoff_cancelled": [
      {
        "chargeoff_cancellation": {
          "chargeoff_id": 42,
          "effective_date": "2025-05-04T09:42:00Z"
        },
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z"
      }
    ],
    "ownership_transferred": [
      {
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z",
        "ownership_transfer": {
          "effective_date": "2025-05-04T09:42:00Z",
          "loan_id": 42,
          "to": "string"
        }
      }
    ],
    "payment_allocated": [
      {
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z",
        "payment_allocation": {
          "effective_date": "2025-05-04T09:42:00Z",
          "loan_allocation": {
            "additionalProperty1": 42,
            "additionalProperty2": 42
          },
          "payment_id": 42
        }
      }
    ],
    "payment_annulled": [
      {
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z",
        "payment_cancellation": {
          "effective_date": "2025-05-04T09:42:00Z",
          "payment_id": 42
        }
      }
    ],
    "payment_received": [
      {
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z",
        "payment": {
          "amount_paid": 42,
          "config_name": "string",
          "external_id": "string",
          "id": 42,
          "payment_date": "2025-05-04T09:42:00Z"
        }
      }
    ],
    "positive_balance_adjusted": [
      {
        "balance_adjustment": {
          "effective_date": "2025-05-04T09:42:00Z",
          "value": 42
        },
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z"
      }
    ],
    "positive_balance_reimbursed": [
      {
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z",
        "reimbursement": {
          "effective_date": "2025-05-04T09:42:00Z",
          "external_id": "string",
          "id": 42,
          "value": 42
        }
      }
    ],
    "positive_balance_reimbursement_cancelled": [
      {
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z",
        "reimbursement_cancellation": {
          "effective_date": "2025-05-04T09:42:00Z",
          "reimbursement_id": 42
        }
      }
    ],
    "restructuring_cancelled": [
      {
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z",
        "restructuring_cancellation": {
          "effective_date": "2025-05-04T09:42:00Z",
          "restructuring_id": 42
        }
      }
    ],
    "waiver_cancelled": [
      {
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z",
        "waiver_cancellation": {
          "effective_date": "2025-05-04T09:42:00Z",
          "waiver_id": 42
        }
      }
    ],
    "waiver_created": [
      {
        "id": 42,
        "occurred_on": "2025-05-04T09:42:00Z",
        "waiver": {
          "amount": null,
          "bucket": "string",
          "config_id": "string",
          "effective_date": "2025-05-04T09:42:00Z",
          "external_id": "string",
          "id": 42,
          "loan_id": 42,
          "percentage": null,
          "reason": "string",
          "type": "string"
        }
      }
    ]
  }
}
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"
}