BTCPay Server · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for BTCPay Greenfield Lightning (Internal Node) API

14 actions 14 updates phrasing extends openapi/btcpay-lightning-internal-node-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for BTCPay Server's API. It is a proposal applied on top of the contract, not a document BTCPay Server publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 14

$.info
$.paths['/api/v1/server/lightning/{cryptoCode}/info'].get
$.paths['/api/v1/server/lightning/{cryptoCode}/balance'].get
$.paths['/api/v1/server/lightning/{cryptoCode}/histogram'].get
$.paths['/api/v1/server/lightning/{cryptoCode}/connect'].post
$.paths['/api/v1/server/lightning/{cryptoCode}/channels'].get
$.paths['/api/v1/server/lightning/{cryptoCode}/channels'].post
$.paths['/api/v1/server/lightning/{cryptoCode}/address'].post
$.paths['/api/v1/server/lightning/{cryptoCode}/payments/{paymentHash}'].get
$.paths['/api/v1/server/lightning/{cryptoCode}/invoices/{id}'].get
$.paths['/api/v1/server/lightning/{cryptoCode}/invoices/pay'].post
$.paths['/api/v1/server/lightning/{cryptoCode}/invoices'].get
$.paths['/api/v1/server/lightning/{cryptoCode}/invoices'].post
$.paths['/api/v1/server/lightning/{cryptoCode}/payments'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for BTCPay Greenfield Lightning (Internal Node) API
  version: 1.0.0
extends: openapi/btcpay-lightning-internal-node-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-18'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 13
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/info'].get
  update:
    x-apievangelist-phrasing:
      intent: Get information about the lightning node
      effect: read
      questions:
      - What is the status of my lightning node?
      - Can I check the node's details before opening channels?
      instructions:
      - text: Get information about the {cryptoCode} lightning node.
        slots:
          cryptoCode: path.cryptoCode
      - text: Show the status of the {cryptoCode} node.
        slots:
          cryptoCode: path.cryptoCode
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/balance'].get
  update:
    x-apievangelist-phrasing:
      intent: Check the lightning node balance
      effect: read
      questions:
      - How much balance does my lightning node hold?
      - Is there a way to see the node's balance before paying invoices?
      instructions:
      - text: Get the balance of the {cryptoCode} lightning node.
        slots:
          cryptoCode: path.cryptoCode
      - text: Show how much {cryptoCode} is available on the node.
        slots:
          cryptoCode: path.cryptoCode
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/histogram'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the lightning node balance histogram
      effect: read
      questions:
      - What is the balance distribution across my lightning channels?
      - Can I see how much capacity is used across the node's channels?
      instructions:
      - text: Show the balance histogram for the {cryptoCode} lightning node.
        slots:
          cryptoCode: path.cryptoCode
      - text: Get the channel capacity histogram for {cryptoCode}.
        slots:
          cryptoCode: path.cryptoCode
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/connect'].post
  update:
    x-apievangelist-phrasing:
      intent: Connect to another lightning node
      effect: write
      questions:
      - How do I connect my lightning node to another node?
      - Can I add a peer to my node by its pubkey and endpoint?
      instructions:
      - text: Connect to the {cryptoCode} lightning node at {nodeURI}.
        slots:
          cryptoCode: path.cryptoCode
          nodeURI: requestBody.nodeURI
      - text: Add a peer to {cryptoCode} with URI {nodeURI}.
        slots:
          cryptoCode: path.cryptoCode
          nodeURI: requestBody.nodeURI
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/channels'].get
  update:
    x-apievangelist-phrasing:
      intent: List the lightning node's channels
      effect: read
      questions:
      - Which channels does my lightning node have?
      - Can I see the capacity and balance of each channel?
      instructions:
      - text: List the channels of the {cryptoCode} lightning node.
        slots:
          cryptoCode: path.cryptoCode
      - text: Show channel details for the {cryptoCode} node.
        slots:
          cryptoCode: path.cryptoCode
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/channels'].post
  update:
    x-apievangelist-phrasing:
      intent: Open a channel to another node
      effect: write
      questions:
      - How do I open a channel to another lightning node?
      - Can I set a fee rate when opening a channel?
      instructions:
      - text: Open a {channelAmount} satoshi channel to {nodeURI} on {cryptoCode}.
        slots:
          channelAmount: requestBody.channelAmount
          nodeURI: requestBody.nodeURI
          cryptoCode: path.cryptoCode
      - text: Open a {channelAmount} satoshi channel to {nodeURI} on {cryptoCode} at a fee rate of {feeRate} satoshi per byte.
        slots:
          channelAmount: requestBody.channelAmount
          nodeURI: requestBody.nodeURI
          cryptoCode: path.cryptoCode
          feeRate: requestBody.feeRate
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/address'].post
  update:
    x-apievangelist-phrasing:
      intent: Get an on-chain deposit address for the node
      effect: read
      questions:
      - Where do I send on-chain funds to add capacity to my lightning node?
      - Can I get a deposit address for my node's channel?
      instructions:
      - text: Get an on-chain deposit address for the {cryptoCode} lightning node.
        slots:
          cryptoCode: path.cryptoCode
      - text: Create a deposit address on {cryptoCode} to top up node capacity.
        slots:
          cryptoCode: path.cryptoCode
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/payments/{paymentHash}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a lightning payment by hash
      effect: read
      questions:
      - Has a specific lightning payment been settled?
      - Can I look up a payment by its payment hash?
      instructions:
      - text: Get the {cryptoCode} lightning payment with hash {paymentHash}.
        slots:
          cryptoCode: path.cryptoCode
          paymentHash: path.paymentHash
      - text: Check whether payment {paymentHash} on {cryptoCode} succeeded.
        slots:
          paymentHash: path.paymentHash
          cryptoCode: path.cryptoCode
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/invoices/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a lightning invoice
      effect: read
      questions:
      - What are the details of a specific lightning invoice?
      - Can I fetch one invoice by its id?
      instructions:
      - text: Get the {cryptoCode} lightning invoice {id}.
        slots:
          cryptoCode: path.cryptoCode
          id: path.id
      - text: Show the details of invoice {id} on {cryptoCode}.
        slots:
          id: path.id
          cryptoCode: path.cryptoCode
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/invoices/pay'].post
  update:
    x-apievangelist-phrasing:
      intent: Pay a lightning invoice
      effect: write
      questions:
      - How do I pay a BOLT11 lightning invoice?
      - Can I cap the fee when paying an invoice?
      instructions:
      - text: Pay the {cryptoCode} lightning invoice {BOLT11}.
        slots:
          cryptoCode: path.cryptoCode
          BOLT11: requestBody.BOLT11
      - text: Pay {BOLT11} on {cryptoCode} with a maximum fee of {maxFeePercent} percent.
        slots:
          BOLT11: requestBody.BOLT11
          cryptoCode: path.cryptoCode
          maxFeePercent: requestBody.maxFeePercent
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/invoices'].get
  update:
    x-apievangelist-phrasing:
      intent: List lightning invoices
      effect: read
      questions:
      - Which lightning invoices have I created?
      - Can I list only pending invoices?
      instructions:
      - text: Get the {cryptoCode} lightning invoices.
        slots:
          cryptoCode: path.cryptoCode
      - text: List {cryptoCode} invoices where pendingOnly is {pendingOnly}.
        slots:
          cryptoCode: path.cryptoCode
          pendingOnly: query.pendingOnly
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/invoices'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a lightning invoice
      effect: write
      questions:
      - How do I create a lightning invoice for a customer?
      - Can I make an invoice private with route hints?
      instructions:
      - text: Create a {cryptoCode} lightning invoice for {amount}.
        slots:
          cryptoCode: path.cryptoCode
          amount: requestBody.amount
      - text: Create a {cryptoCode} invoice for {amount} with description {description}.
        slots:
          cryptoCode: path.cryptoCode
          amount: requestBody.amount
          description: requestBody.description
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/server/lightning/{cryptoCode}/payments'].get
  update:
    x-apievangelist-phrasing:
      intent: List lightning payments
      effect: read
      questions:
      - Which lightning payments have I made?
      - Can I include pending payments in the list?
      instructions:
      - text: Get the {cryptoCode} lightning payments.
        slots:
          cryptoCode: path.cryptoCode
      - text: 'List {cryptoCode} payments including pending ones: {includePending}.'
        slots:
          cryptoCode: path.cryptoCode
          includePending: query.includePending
      method: generated
      generated: '2026-11-18'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/btcpay-lightning-internal-node-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.