Get receipt of a paid call
get_receiptRe-fetch the stored result of a settled paid call by its receipt_id, for when the response was lost after payment. Free. Unknown or unsettled receipt ids return RECEIPT_NOT_FOUND. Results are kept for 30 days after settlement.
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": "get_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt_id | Yes | The receipt_id returned with a paid result ("rcpt_" + 64 hex characters). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Name of the paid tool that produced the result. | |
| terms | Yes | URL of the terms of service. | |
| result | Yes | The stored result, exactly as returned by the paid call. | |
| payment | Yes | ||
| provenance | Yes | Freshness receipts for every upstream source used. | |
| receipt_id | Yes | Receipt id of the settled paid call ("rcpt_" + 64 hex). Use with get_receipt. | |
| settled_at | Yes |