Get receipt
get_receiptUse this to deliver an already-paid resource, or to finish a payment that is still confirming. Use get_checkout_status to read state without consuming a unit. Input: tx_hash, or offer_id, or intent_id. Returns the receipt and consumes one paid unit. It never charges.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_hash | No | Sepolia transaction hash from pay_and_access or from your own settled x402 payment. | |
| offer_id | No | Offer id, to finish a payment that is still confirming or to redeem remaining units. | |
| intent_id | No | Payment intent id, when you have one instead of a transaction hash. |