subscribe_invoice_status_by_hash
Subscribe to real-time updates for a Lightning invoice using its payment hash. Track payment status changes like paid or expired.
Instructions
Subscribe to real-time updates for a Lightning invoice by payment hash
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": {
"payment_hash": "<payment_hash>"
},
"name": "subscribe_invoice_status_by_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_hash | Yes | The payment hash to monitor |