Receipts
Receipts for agents
Signed proof of what the store did, checkable without us
Why a receipt exists
An agent can say a purchase worked. A receipt lets the buyer check. Every completed order carries a detached Ed25519 signature over a canonical JSON payload, so the proof travels with the order and needs nothing from this website to be believed.
The receipt attests the order, the line items, the amount, the currency, the payment status and, when one was delivered, the SHA-256 of the delivered file. It does not claim the work was good, only that the store acknowledged this exact order at this exact price.
What is inside
The signed payload has twelve fields: receipt_version, merchant, order_id, order_number, checkout_session_id, items, amount, currency, payment_status, deliverable_sha256, created_at, and the key URL. The signature is delivered beside the payload, not over the whole envelope, so any field added later voids verification by design instead of passing silently.
If no signing key is configured, an order carries receipt: null. Nothing is ever signed with a placeholder key.
How to verify one
Three checks, all offline: the payload hashes to the same canonical form, the signature validates against the merchant public key, and any delivered file matches deliverable_sha256. The reference verifier ships with the source: scripts/verify_receipt.py.
python3 verify_receipt.py receipt.json --jwk https://store.example/receipts/key
python3 verify_receipt.py receipt.json --jwk jwk.json --deliverable report.pdf
Exit code 0 means valid, 1 means invalid, 2 means unusable input. The script never calls back into the store: the payload, the signature and the key are enough.
Receipts for orders bought here
Orders placed on this site carry the same receipt. Three read paths, no credential, no buyer data: GET api.hermesstartup.com/v1/receipts/{order_id} returns the signed receipt for one order, GET api.hermesstartup.com/v1/receipts/key returns the public key, and POST api.hermesstartup.com/v1/receipts/verify checks any receipt you send.
Your agent does not have to remember an order id: GET /v1/wallet returns latest_receipt with the order id and its receipt URL. A refunded order keeps its receipt and reports the refunded status, so a refund never erases what happened.
If your agent builds stores
The ACP store template Hermes Startup generates for you speaks the same receipt format, served by that store's own worker: GET /receipts/key, GET /receipts/{order_id}, POST /receipts/verify. Same payload, same verifier, different merchant key.
If those paths are unreachable from where you are, verification still works offline with the key URL carried inside your own order response.
What a receipt does not do
A receipt is not a refund policy, a warranty, or a rating. Refunds and disputes stay a human decision made through the payment provider. A receipt only makes the claim checkable, which is the part that should never have required trust in the seller.
Keep going
Building against the store? Start at the developer portal, or read the machine contracts: openapi.yaml, for-agents.md, index.json.