Refund receipt
refund_receiptReverse a settled dry-run receipt and restore its amount to the remaining budget. This human-confirmed step refunds once and rejects unsettled receipts.
Instructions
Reverse a settled dry-run receipt and restore that amount to the remaining budget. This is the step a human should confirm. Does not contact Stripe or Link. A receipt can be refunded only once; repeating the call does not refund again. Refuses receipts that are not settled_dry_run.
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": "refund_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Refund reason | |
| receipt_id | Yes | Receipt id (rcpt_…) |