Look up a receipt (free)
genesis402_receiptFetch a receipt by id to confirm a paid call settled and delivered, showing task, amount, payment rail, transaction hash, settler, payer and timestamp. Read-only; nothing is charged.
Instructions
Free, no payment, read-only and idempotent. Fetches one receipt by id from the rail's public receipts feed (twin.unykorn.org/receipts) to confirm that a paid call was settled and delivered. Use after any paid call, or to check a genesis402_prove receipt, using the receipt id returned with that result. It does not list or search receipts; you need the exact id. Returns the receipt exactly as published: the task called, amount in USD, payment rail, settlement transaction hash, settler, payer and timestamp. An unknown id returns an error with HTTP status 404; nothing is charged either way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt_id | Yes | The receipt id exactly as returned with a paid call result or by genesis402_prove, 4 to 80 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | The receipt exactly as published on the rail's receipts feed. | |
| receipt_id | Yes | The id that was looked up. |