Pay a test invoice and fire invoice.paid
send_test_webhookPay a test invoice end to end so the API fires a real invoice.paid to your webhooks. No money moves. Local server only: pass url (e.g. http://localhost:3000/api/webhooks/intents) to also POST the signed event straight to a local handler, signed with INTENTS_WEBHOOK_SECRET.
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": {
"invoiceId": "<invoiceId>"
},
"name": "send_test_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Local (stdio) server only: a local handler | |
| invoiceId | Yes | ||
| maxWaitSec | No |