Receipt — Lookup
receipt_lookupLook up one of your own receipts by receipt_id: returns the stored signed receipt, its signature check, and settlement state. Free. The wallet must be the one that paid. One receipt by id: this tool. Your whole history: receipt_history. A check on a URL: check_url_custom.
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>",
"agent_wallet": "<agent_wallet>"
},
"name": "receipt_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt_id | Yes | Receipt id, emb_ followed by 24 hex characters | |
| agent_wallet | Yes | Your wallet address — the one that paid. Results are scoped to this account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Tool that issued the receipt, or null | |
| found | Yes | True when the receipt exists and belongs to the wallet | |
| created_at | Yes | ISO timestamp the receipt was issued, or null | |
| receipt_id | Yes | The receipt id, or null when not found | |
| receipt_json | Yes | The full stored receipt as a JSON string (public view, PII redacted), or null | |
| signature_valid | Yes | True when the receipt's signature verifies against the published signer | |
| settlement_state | Yes | Reconciled settlement state of the payment, or null |