v1

latestOpenAPI 3.1.02026-07-263644911022.4 KB
Loan Accounts

List loan account audit events

Returns immutable correction, replay, and operator-visible audit history for a loan account. Schema-bounded limit (1–100, default 50); out-of-range values yield 422. A malformed UUID yields 422 (schema error).

get/api/v1/loan-accounts/{id}/audit-events

Path parameters

idstring uuid required

Loan account identifier (UUID).

Example:550e8400-e29b-41d4-a716-446655440000

Loan account identifier (UUID).

Query parameters

limitinteger

Maximum audit events to return (1–100, default 50).

Example:50

Maximum audit events to return (1–100, default 50).

Response

OK

operatorSummarystring required

Human-readable operator summary of the audit history.

Example response

{
  "data": [
    {
      "amount": "113.84",
      "eventType": "original_repayment",
      "lineage": [
        {
          "relation": "reverses",
          "transactionId": "550e8400-e29b-41d4-a716-446655440010"
        }
      ],
      "occurredAt": "2026-06-14T12:00:00Z",
      "scheduleVersionId": "550e8400-e29b-41d4-a716-446655440030",
      "sequence": 1,
      "transactionId": "550e8400-e29b-41d4-a716-446655440010"
    }
  ]
}