List evidence events
GET
/v1/loans/{ref}/evidence
const url = 'http://localhost:8080/v1/loans/example/evidence';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/v1/loans/example/evidenceReturns the loan’s hash-chained evidence events in sequence: type, actor, payload, payload hash, previous hash and chain hash. Any staff role or an API key with evidence:read. 404 for an unknown reference.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ref
required
string
Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
id
required
integer | string format: int64
seq
required
integer | string format: int32
eventType
required
string
actorType
required
string
actorId
required
null | string format: uuid
payload
required
A validated JSON document destined for a jsonb / nvarchar(max) ISJSON column. Distinct from
string so the persistence layer can bind it with the right provider type on each dialect.
payloadSha256
required
string
prevSha256
required
string
chainSha256
required
string
occurredAt
required
string format: date-time
Examplegenerated
[ { "id": 1, "seq": 1, "eventType": "example", "actorType": "example", "actorId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "payload": "example", "payloadSha256": "example", "prevSha256": "example", "chainSha256": "example", "occurredAt": "2026-04-15T12:00:00Z" }]