verify_receipt
Verifies an order receipt: ed25519 signature + per-user hash chain. Returns signature_valid + chain_valid (verified = both True). If an earlier receipt in the chain was altered, chain_valid=False (proof of tamper-evidence). Public key: /mcp/receipts/pubkey. Receipts issued before the ed25519 rollout were HMAC-signed and return legacy=True.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"receipt_id": "<receipt_id>"
},
"name": "verify_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt_id | Yes | receipt_id of the receipt to verify (receipt.receipt_id from a place/close/cancel response). Only your own receipts can be verified. |