Verify Agent Receipt
paybond_verify_agent_receipt_v1Verify a signed paybond.agent_receipt_v1 JSON object offline by checking schema, digest, and Gateway signature. Optionally raise the validity bar with primary or attested tier.
Instructions
Use this when you already have a signed paybond.agent_receipt_v1 JSON object and need an offline operational-tier (default) Ed25519 signature check—schema, digest, and Gateway signature—matching resources/read on paybond://receipt/{receipt_id}. Optional validity_tier=primary|attested raises the bar (payee digest / operator attestation). Do not use this for protocol authorization/settlement receipts—call paybond_verify_protocol_receipt_v1. Continuity-chain audits, inclusion proofs, owner disclosure, and ACTA/PEF/SCITT are Kit/CLI/Gateway auditor surfaces. Read-only and side-effect free: success returns valid=true with kind, receipt_id, tenant_id, and the normalized receipt; failures raise a clear verification error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | Complete signed paybond.agent_receipt_v1 object (not a receipt_id string). Obtain from paybond_get_agent_receipt_v1, paybond://receipt/{receipt_id}, audit export (agent_receipts/{id}.json; PEF companions may also appear as *.pef.json), or partner handoff—do not invent digests or signatures. | |
| validity_tier | No | Optional validity bar: operational (default), primary, or attested. Higher tiers are auditor-oriented; MCP handoff only requires operational. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Verified receipt kind (paybond.agent_receipt_v1). | |
| valid | No | True when operational (or requested) validity checks passed. Example: true. | |
| receipt | No | Normalized verified paybond.agent_receipt_v1 object. | |
| tenant_id | No | Tenant id embedded in the verified receipt (not invented by the caller). | |
| receipt_id | No | Canonical receipt identifier from the verified receipt. | |
| validity_tier | No | Requested validity tier used for this verify (operational, primary, or attested). |