verify_receipt
Checks a StatuteWire receipt JSON (the whole file text or object): hash, canonical form, Ed25519 signature against StatuteWire's published key, and roster totals. Free, not metered. VALID means the file is exactly as StatuteWire signed it; it says nothing about whether the practitioner is clean. A receipt signed with the SAMPLE key is reported as SAMPLE, never as valid. Needs an API key (Authorization: Bearer sw_live_… or sw_test_…); without one it returns an error that points to how_to_get_access.
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_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | The receipt JSON file contents, as a string or an object. |