set_payout_invoice
Register the seller's BOLT11 payout invoice for an escrow so Lightning release pays out in one step. Call before or right after funding; amount must not exceed escrow amount.
Instructions
As seller, register the BOLT11 invoice (amount <= escrow amount) that the payout leg pays when the escrow releases. Do this before or right after funding so release can complete in one step.
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": {
"escrow_id": "<escrow_id>",
"invoice": "<invoice>"
},
"name": "set_payout_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | ||
| escrow_id | Yes |