Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt

Use this file to discover all available pages before exploring further.

Removes PII from a receipt’s payload while preserving the cryptographic proof. The receipt’s signature, transparency log entry, and Merkle inclusion proof remain intact — only the payload_json is replaced with a redaction marker. Use this for GDPR right-to-erasure requests on receipts containing personal data.
Redaction is permanent. The original payload cannot be restored. The cryptographic proof remains valid for audit purposes.

Path parameters

id
string
required
UUID of the receipt to redact.

Headers

Idempotency-Key
string
required
UUID for idempotent redaction.

Response

receipt_id
string
UUID of the redacted receipt.
status
string
redacted
redacted_at
string
ISO 8601 timestamp of redaction.

What changes after redaction

  • statusredacted
  • payload_json{"redacted": true, "redacted_by": "tenant_request"}
  • A RECEIPT_REDACT event is anchored in the transparency log
  • All other fields (signature, log proof, receipt_type) are preserved