Verify a delivery receipt
verify_delivery_receiptProof of delivery check. Verifies a delivery receipt: the seller's signature over the deliverable hash (SHA-256) and, if present, the buyer's countersignature. Returns countersigned, seller-only or invalid, with reasons. Optionally compares a file's SHA-256 with the deliverable hash. Relevant to a delivery dispute or to checking a seller before payment. Free, no sign-up, no API key.
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": "<receipt>"
},
"name": "verify_delivery_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | A Wayreceipt delivery receipt (W3C Verifiable Credential 2.0 with eddsa-jcs-2022 proofs). | |
| file_sha256 | No | Optional SHA-256 (hex) of a local file to compare with the receipt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| valid | Yes | ||
| reasons | Yes |