Btcpay

From claude-dev-suite/claude-dev-suite · View interactive version

Btcpay is an AI agent skill from the GitHub repository claude-dev-suite/claude-dev-suite. BTCPay Server: open-source merchant payment processor. Self-hosted, supports BTC + Lightning + altcoins, plugin ecosystem, Lightning Address resolver, point-of-sale. USE WHEN: deploying merchant payments, integrating with BTCPay, building plugins.

How to use this skill

Skill file

BTCPay Server

Open-source, self-hosted Bitcoin payment processor. The dominant

non-custodial alternative to Stripe/PayPal for BTC.

Repo: github.com/btcpayserver/btcpayserver (.NET / C#).

Architecture

Features

Setup

Easy install: BTCPay Docker Deployment script:

. ./btcpay-setup.sh -i

Configures Docker + bitcoind + LND + BTCPay in one go. Production-ready

by default.

Security

including the 2.4.2 release candidates — let an unauthenticated remote

attacker fetch LND .macaroon files and take over the node. BTCPay

confirmed in-the-wild exploitation and stolen funds. BTCPay's own

on-chain wallets (hot wallets included) and CLN/Eclair backends are not

exposed, but funds held in LND's internal on-chain wallet are part of

the affected node and may still be at risk.

Advisory

and regenerates its macaroons; rotate manually if you expose LND through

your own reverse proxy, Tor service or forwarded port.

a further security release for servers shared by many users.

account creation (opt-in via account settings), and temporarily

removes public LND API access on Docker deploys — external wallets such

as Zeus can no longer connect through the BTCPay domain or onion

address. BTCPay plans to restore the option when it is safe to do so;

still removed as of September 2026.

blocked, store users must accept an invitation, legacy BitPay Basic-auth

API keys removed.

Use cases

Lightning support

API

Greenfield REST API under /api/v1/:

POST /api/v1/stores/{storeId}/invoices
GET  /api/v1/stores/{storeId}/invoices/{invoiceId}
GET  /api/v1/invoices/{invoiceId}/payment-methods
PUT  /api/v1/stores/{storeId}/payment-methods/{paymentMethodId}

BTCPay 2.0 (30 October 2024) removed every payment-method-type-specific

route — /payment-methods/onchain/{cryptoCode},

/payment-methods/LightningNetwork/{cryptoCode},

/payment-methods/LNURLPay/{cryptoCode} (GET/PUT/DELETE) — in favour of

the generic {paymentMethodId} form, and renamed the ids:

| Pre-2.0 id | 2.x id |

|------------|--------|

| BTC-OnChain, BTC-BitcoinLike, BTC-BTCLike | BTC-CHAIN |

| BTC-LightningNetwork, BTC_OffChain | BTC-LN |

| BTC-LNURLPAY | BTC-LNURL |

Old id strings are still accepted as input (BTCPay normalises them);

responses always return the new names. The on-chain wallet subtree moved

to /payment-methods/{paymentMethodId}/wallet/* — preview, generate,

address, transactions, utxos, feerate. Invoice payment-method

data is a JSON array, with paymentMethodId (was paymentMethod),

currency (was cryptoCode) and paymentMethodFee (was networkFee).

Checked against the live Greenfield swagger, September 2026.

Common issues

See also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.