Refund claim of a failed domain order (free)
domain_refundFree: claims the refund of a domain order made without an account that failed after payment, with its payment proof (l402 or cashu), within 30 days. Checked at once; paid by hand over Lightning to destination. Completed orders are final.
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": {
"destination": "<destination>"
},
"name": "domain_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| l402 | No | The '<macaroon>:<preimage>' this domain's order was paid with. | |
| cashu | No | The cashu token this domain's order was paid with. | |
| amount_sat | No | Default: everything refundable. | |
| destination | Yes | Your Lightning address (name@host) or an LNURL for the refund. |