toip.tools

tipline/tip/receipt

https://toip.tools/spec/tipline/tip/receipt/0.1

The drop box tells the source whether the tip was verified or rejected, and why, and asks again for any chunks that didn't arrive.

Sent
drop box source's tip DID
Kind
One-way. No response is expected; any answer is a separate message.
Envelope
Signed by the issuer, addressed to one recipient, timestamped, and encrypted in a TSP Direct message. The signature and recipient binding prevent its use as a bearer token.
Defined in
projects/tipline/src/protocol/messages.ts:13 as RECEIPT
Handled in
projects/tipline/src/agents/inbox.ts, projects/tipline/src/agents/source.ts
Design
7.1 Message types in projects/tipline/docs/design.md

Payload

TypeScriptprojects/tipline/src/protocol/messages.ts:81
export interface ReceiptPayload {
  tipId: string;
  status: "verified" | "rejected";
  reason?: ReceiptReason;
  missing?: { attachment: string; index: number }[];
  padding?: string;
}

Document envelope

Every Trust Task uses this envelope. Replace payload with the structure shown above.

JSONShape of a document of this type
{
  "id": "urn:uuid:…",
  "type": "https://toip.tools/spec/tipline/tip/receipt/0.1",
  "issuer": "did:key:… (the sender)",
  "recipient": "did:key:… (the receiver)",
  "issuedAt": "2026-11-06T18:00:00.000Z",
  "payload": { … },
  "proof": {
    "type": "DataIntegrityProof",
    "cryptosuite": "eddsa-jcs-2022",
    "verificationMethod": "did:key:…#…",
    "proofPurpose": "assertionMethod",
    "proofValue": "z…"
  }
}