API ReferenceReceipts

The signed, hash-chained decision log

GET
/api/receipts

Every decision Mandate made, in order. Each receipt carries the hash of the one before it and an Ed25519 signature, so any edit, insertion or deletion breaks the chain.

Query Parameters

mandateId?string

Only this mandate's receipts. Omit for the whole log.

Response Body

application/json

curl -X GET "https://example.com/api/receipts"
[  {    "seq": 0,    "mandateId": "string",    "type": "string",    "summary": "string",    "payload": null,    "payloadHash": "string",    "createdAt": "2019-08-24T14:15:22Z",    "prevHash": "string",    "hash": "string",    "signature": "string"  }]