pay_invoice
Process a Bitcoin Lightning invoice payment via the NWC MCP Server, enabling fast and secure transactions directly within supported platforms.
Instructions
Pay a lightning invoice
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | No | Optional amount in millisats to pay a zero-amount invoice | |
invoice | Yes | The lightning invoice to pay | |
metadata | No | Optional metadata to include with the payment |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amount": {
"description": "Optional amount in millisats to pay a zero-amount invoice",
"type": "number"
},
"invoice": {
"description": "The lightning invoice to pay",
"type": "string"
},
"metadata": {
"additionalProperties": true,
"description": "Optional metadata to include with the payment",
"properties": {},
"type": "object"
}
},
"required": [
"invoice"
],
"type": "object"
}