Evidence and receipts
The signed, hash-chained, anchored record of every step, receipts, and evidence packs.
Every step of an agent payment is written to an evidence record: the instruction, the request, the decision with its trace, the approval with its signatures, the credential, the authorization, the receipt and the settlement. Each event is signed, chained to the one before, and anchored to a public timestamp every hour. Anyone with the record can check later that nothing was changed, without trusting ndStill's word for it.
What gets recorded#
| Event | Written when |
|---|---|
mandate.signed | A person signs an instruction. |
intent.created | An agent asks to pay. |
decision.made | The pipeline approves, holds or declines, with the trace and the policy version hash. |
approval.decided | A person approves or rejects, with their passkey signature. |
credential.minted, credential.revoked | A scoped card, token or payment approval is minted or revoked. |
authorization.approved, capture.posted, settlement.posted, refund.posted | The payment moves on the rail. |
receipt.issued | The buyer's, the seller's and ndStill's signatures over the purchase. |
freeze.applied, freeze.lifted | Who froze what and why. |
dispute.opened, dispute.closed | A dispute starts and ends. |
policy.activated | A policy version goes live. |
Operational changes (a renamed agent, a new API key) go to the separate audit log. Money-affecting human actions go to both.
How the chain works#
- The event's payload is canonicalized with JCS (RFC 8785) and hashed with SHA-256:
payload_hash. - The event hash links it to the previous event in the org's chain:
event_hash = SHA-256(prev_hash || payload_hash || meta). - The event hash is signed with the evidence key for the region (Ed25519, with a published key ID and rotation schedule):
signature,kid. - Every hour, a Merkle tree is built over every org's chain head. Its root is timestamped by an RFC 3161 timestamp authority and logged in a public transparency log. Each org can fetch the inclusion proof for its events.
{
"id": "evt_01JD…",
"object": "evidence_event",
"seq": 18422,
"type": "decision.made",
"subject": { "object": "decision", "id": "dec_01JD…" },
"intent_id": "pi_01JD…",
"payload_hash": "sha256:7c1e…",
"prev_hash": "sha256:a90b…",
"event_hash": "sha256:4f3d…",
"signature": "ed25519:MEUCIQ…",
"kid": "ev-us-2026-10",
"verified": { "signature": true, "chain": true, "anchor": null }
}verified.anchor is null until the hourly anchor that includes the event is published. The console shows this as a small verified mark that expands into the proof details.
Verifying#
- GET
/evidence/verifychecks an event or a pack: signature, chain continuity, inclusion proof and anchor. - The open-source verifier does the same checks offline, from a downloaded pack, with no call to ndStill. The public evidence verifier page runs it in the browser.
Verification never requires trusting the API that produced the record: the anchor is public and the signing keys are published.
Receipts#
A receipt is the purchase both sides agree happened. It holds the mandate hash, the request hash, the response hash, the amount, the asset, the counterparty and the rail, with signatures from the buyer's agent, the seller (when the seller runs Accept or Verify) and ndStill. The format is designed to be compatible with AP2 receipts. Agents fetch theirs with the MCP get_receipt tool; sellers see them in the Receipts API and can re-check one with POST/receipts/{id}/verify.
Evidence packs#
A pack bundles the events and proofs for a purpose, as a PDF for people and JSON with proofs for machines:
| `kind` | For |
|---|---|
audit | A period of activity, for finance and auditors. |
dispute | One payment: the mandate, trace, approvals, receipts and delivery data. |
insurer | A claim under the planned ndStill Guarantee. |
seller | A seller's receipt history. |
Build one with POST/evidence/packs; it's building and then ready. Share it with a time-limited guest link (POST/evidence/packs/{id}/share), watermarked, which auditors and insurers can open without an account.
Retention and privacy#
Evidence payloads are designed to be kept in write-once storage for at least seven years, longer where consumer regulation requires. Personal data inside a payload is encrypted per subject, so a deletion request is honoured by destroying that key: the chain keeps only hashes, and still verifies.
Read next: Test mode, simulation and replay, which deliberately writes nothing to evidence.