API ReferenceLedger and receipts
Measured numbers for the console header
The few measured numbers built from the run files in data/runs/, each with the file it came from. An empty list when site/data/totals.json is absent.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/console/api/totals"[ { "value": "5 of 10", "label": "disputes settled at INQUIRY, no fee", "source": "data/runs/batch-local-20261110-223520.json" }]Both signed receipt logs GET
The merchant log and the buyer log as written, with their public keys. Each is verifiable offline, in the browser or with the verdock-core verifier. Editing one line breaks the chain.
Ask the buyer agent to buy something POST
The agent proposes a product from the catalog; the mandate check (budget, per item cap, store, category) decides. An allowed purchase writes a signed mandate receipt linked to the order id.