BTCPay Server · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for BTCPay Greenfield Lightning (Store) API

14 actions 14 updates phrasing extends openapi/btcpay-lightning-store-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/stores/{storeId}/lightning/{cryptoCode}/info'].get
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/balance'].get
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/histogram'].get
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/connect'].post
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/channels'].get
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/channels'].post
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/address'].post
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/payments/{paymentHash}'].get
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/invoices/{id}'].get
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/invoices/pay'].post
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/invoices'].get
$.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/invoices'].post
$.paths['/api/v1/stores/{storeId}/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 (Store) API
  version: 1.0.0
extends: openapi/btcpay-lightning-store-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/stores/{storeId}/lightning/{cryptoCode}/info'].get
  update:
    x-apievangelist-phrasing:
      intent: Get information about a lightning node
      effect: read
      questions:
      - What is the status of my store's lightning node?
      - Can I check a lightning node's details before opening a channel?
      instructions:
      - text: Show info for {cryptoCode} lightning node {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Get the status of the {cryptoCode} node in store {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/balance'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a lightning node's balance
      effect: read
      questions:
      - How much capacity does my lightning node have?
      - What is the current balance of a store's lightning node?
      instructions:
      - text: Show the balance of {cryptoCode} lightning node {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Check capacity on the {cryptoCode} node in store {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/histogram'].get
  update:
    x-apievangelist-phrasing:
      intent: View a lightning node's balance histogram
      effect: read
      questions:
      - How has my lightning node's balance changed over time?
      - Can I see a balance histogram for a store's lightning node?
      instructions:
      - text: Show the balance histogram for {cryptoCode} lightning node {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Get the balance history graph of the {cryptoCode} node in store {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/connect'].post
  update:
    x-apievangelist-phrasing:
      intent: Connect to a lightning node
      effect: write
      questions:
      - How do I connect my lightning node to another node?
      - Can I add a new peer to a store's lightning node?
      instructions:
      - text: Connect to lightning node {nodeURI} on {cryptoCode} in store {storeId}.
        slots:
          nodeURI: requestBody.nodeURI
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Add a peer to the {cryptoCode} node of store {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/channels'].get
  update:
    x-apievangelist-phrasing:
      intent: List a lightning node's channels
      effect: read
      questions:
      - Which channels does my lightning node have open?
      - Can I list the channels of a store's lightning node?
      instructions:
      - text: Show the channels of {cryptoCode} lightning node {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: List open channels on the {cryptoCode} node in store {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/channels'].post
  update:
    x-apievangelist-phrasing:
      intent: Open a channel to a lightning node
      effect: write
      questions:
      - How do I open a channel to another lightning node?
      - Can I fund a channel with a specific amount of satoshi?
      instructions:
      - text: Open a {channelAmount} satoshi channel to {nodeURI} on {cryptoCode} in store {storeId}.
        slots:
          channelAmount: requestBody.channelAmount
          nodeURI: requestBody.nodeURI
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Fund a channel to {nodeURI} on the {cryptoCode} node of store {storeId} at {feeRate} satoshi per byte.
        slots:
          nodeURI: requestBody.nodeURI
          cryptoCode: path.cryptoCode
          storeId: path.storeId
          feeRate: requestBody.feeRate
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/address'].post
  update:
    x-apievangelist-phrasing:
      intent: Get an on-chain deposit address for a lightning node
      effect: read
      questions:
      - Where should I send on-chain funds to top up my lightning node?
      - Can I get a deposit address for a store's lightning node?
      instructions:
      - text: Get a deposit address for {cryptoCode} lightning node {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Show the on-chain address to fund the {cryptoCode} node in store {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/payments/{paymentHash}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a lightning payment
      effect: read
      questions:
      - Did a lightning payment go through?
      - Can I look up a payment by its hash?
      instructions:
      - text: Get lightning payment {paymentHash} on {cryptoCode} in store {storeId}.
        slots:
          paymentHash: path.paymentHash
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Check the status of payment {paymentHash} on the {cryptoCode} node of store {storeId}.
        slots:
          paymentHash: path.paymentHash
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/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 lightning invoice {id} on {cryptoCode} in store {storeId}.
        slots:
          id: path.id
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Show invoice {id} on the {cryptoCode} node of store {storeId}.
        slots:
          id: path.id
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/invoices/pay'].post
  update:
    x-apievangelist-phrasing:
      intent: Pay a lightning invoice
      effect: write
      questions:
      - How do I pay a lightning invoice?
      - Can I cap the fee when paying an invoice?
      instructions:
      - text: Pay lightning invoice {BOLT11} on {cryptoCode} in store {storeId}.
        slots:
          BOLT11: requestBody.BOLT11
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Pay {BOLT11} on the {cryptoCode} node of store {storeId} with a max fee of {maxFeePercent} percent.
        slots:
          BOLT11: requestBody.BOLT11
          cryptoCode: path.cryptoCode
          storeId: path.storeId
          maxFeePercent: requestBody.maxFeePercent
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/invoices'].get
  update:
    x-apievangelist-phrasing:
      intent: List a store's lightning invoices
      effect: read
      questions:
      - Which lightning invoices has my store received?
      - Can I list only pending invoices?
      instructions:
      - text: List lightning invoices for {cryptoCode} in store {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Show {pendingOnly} invoices on the {cryptoCode} node of store {storeId}.
        slots:
          pendingOnly: query.pendingOnly
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/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 set an expiry on a new invoice?
      instructions:
      - text: Create a {amount} satoshi invoice on {cryptoCode} in store {storeId}.
        slots:
          amount: requestBody.amount
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Create an invoice for {amount} satoshi on the {cryptoCode} node of store {storeId} expiring in {expiry} seconds.
        slots:
          amount: requestBody.amount
          cryptoCode: path.cryptoCode
          storeId: path.storeId
          expiry: requestBody.expiry
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/lightning/{cryptoCode}/payments'].get
  update:
    x-apievangelist-phrasing:
      intent: List a store's lightning payments
      effect: read
      questions:
      - Which lightning payments has my store made?
      - Can I include pending payments in the list?
      instructions:
      - text: List payments on {cryptoCode} in store {storeId}.
        slots:
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      - text: Show {includePending} payments on the {cryptoCode} node of store {storeId}.
        slots:
          includePending: query.includePending
          cryptoCode: path.cryptoCode
          storeId: path.storeId
      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-store-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.