# Receipts and consent events

Public receipt ingest from the banner, consent event queries, daily Ed25519 Merkle roots, and limit-aware JSON/CSV evidence packs.

## POST /v1/receipts (public banner ingest)

Accepts consent grant, update and withdrawal receipts emitted by the banner with HMAC-SHA256 IP keying, trust-class classification, and per-site SHA-256 hash chaining.

## GET /v1/sites/{id}/consent-events

Queries stored consent events by kind, trust class and date range.

## Seal state and Ed25519 daily Merkle roots

Reads daily signed Ed25519 Merkle root status from evidence.evidence_roots via GET /v1/sites/{id}/seal.

## POST /v1/sites/{id}/evidence-packs and GET /v1/evidence-packs/{id}

Builds downloadable limit-aware JSON/CSV evidence bundles with CSV formula neutralization for a date range.
