confirm_payment
Finalize Bitcoin Lightning Network payments by entering the 6-character confirmation code from your payment request to complete transactions.
Instructions
Confirm a pending payment using the nonce code from a previous payment request. Call this after a payment tool returns requiresConfirmation=true with a nonce.
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": {
"nonce": "<nonce>"
},
"name": "confirm_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | The 6-character confirmation code from the payment request |