๐ What is BTCPay Server?
BTCPay Server is a free, open-source, self-hosted cryptocurrency payment processor. It allows merchants to accept Bitcoin and other cryptocurrencies directly to their own wallets without any third-party custodian. Created in 2017 as a response to the shutdown of BitPay's free tier, BTCPay Server has become the gold standard for merchants who value financial sovereignty, privacy, and zero processing fees.
Unlike centralized payment gateways, BTCPay Server gives merchants complete control over their payment infrastructure. Payments go directly to the merchant's wallet, and the server can be hosted on any VPS, cloud instance, or even a Raspberry Pi. With native Lightning Network support, BTCPay Server enables instant, low-cost Bitcoin payments.
BTCPay Server is trusted by thousands of merchants worldwide. Its zero-fee model, self-custodial nature, Lightning Network support, and open-source transparency make it the ultimate payment solution for businesses that prioritize sovereignty and cost savings.
๐ช Supported Cryptocurrencies
BTCPay Server natively supports Bitcoin (BTC) and Bitcoin testnet. Through plugins and community integrations, it also supports several other cryptocurrencies:
BTC (on-chain & Lightning Network) with full support for SegWit, Taproot, and more.
Litecoin, Monero, Dogecoin, Dash, and other coins via community-developed plugins.
Support for custom tokens and assets can be added through the modular plugin system.
Integrated Lightning Node (LND, CLN) for instant, low-fee Bitcoin payments.
BTCPay Server's native focus is Bitcoin and Lightning, but the plugin ecosystem allows merchants to accept a growing list of altcoins.
๐ฐ Fees & Pricing
BTCPay Server's fee structure is one of its most attractive features. There are no transaction fees โ the software is entirely free and open-source. Costs include:
| Cost Type | Estimated Cost | Notes |
|---|---|---|
| BTCPay Server Software | $0 | MIT licensed, completely free |
| Server Hosting (VPS) | $5 โ $50/month | Depends on traffic and storage needs |
| Blockchain Network Fees | Variable (network-determined) | Paid by the merchant or passed to customers |
| Lightning Network Fees | ~0.1% โ 0.5% | Dynamically adjusted based on network conditions |
| Third-Party Services (optional) | Varies | For exchange rate feeds, email notifications, etc. |
BTCPay Server charges zero transaction fees. Merchants only pay blockchain network fees, which can be passed to customers or covered by the merchant. Over time, this can represent significant savings compared to 0.5%โ1% fee gateways.
โก Lightning Network Integration
BTCPay Server offers native Lightning Network support, making it one of the most powerful self-hosted solutions for accepting Bitcoin Lightning payments.
Connect your own LND, Core Lightning (CLN), or Eclair node for full Lightning payment processing.
Generate Lightning invoices automatically, with sub-second confirmation and near-zero fees.
Monitor Lightning channel balance, transactions, and node health directly from BTCPay Server.
Create human-readable Lightning Addresses for receiving payments without invoices.
BTCPay Server's Lightning integration gives merchants the ability to accept Bitcoin payments with settlement in seconds and fees often below $0.01. This is particularly valuable for high-volume, low-margin businesses.
๐ ๏ธ Setup & Deployment
BTCPay Server can be deployed in several ways, ranging from one-click installations to fully manual setups:
-
1
Choose a deployment method
Use one-click deploy on LunaNode (official partner), deploy on a VPS (DigitalOcean, AWS, etc.) with Docker, or run on a Raspberry Pi for small setups.
-
2
Set up your Bitcoin node
BTCPay Server requires a Bitcoin full node. You can run your own node or connect to an external one (e.g., a public node with caution).
-
3
Configure your Lightning node (optional)
For Lightning support, set up LND, CLN, or Eclair and connect it to BTCPay Server.
-
4
Set up store and payment methods
Create your store, configure checkout settings, and choose which payment methods to accept (BTC on-chain, Lightning, altcoins).
-
5
Integrate with e-commerce
Install plugins for WooCommerce, Shopify, Magento, or use the REST API for custom integrations.
The official BTCPay Server documentation provides detailed guides for each deployment method. The LunaNode one-click deploy is the easiest way to get started in under 30 minutes.
๐ Plugins & Integrations
BTCPay Server has a rich ecosystem of plugins and integrations:
WooCommerce, Shopify, Magento, PrestaShop, Drupal, and many more.
Litecoin, Monero, Dogecoin, Dash, and other cryptocurrency support via plugins.
Export transactions, generate reports, and integrate with accounting software.
Email alerts, webhooks, and Zapier integration for automated workflows.
Real-time price feeds from multiple exchanges for accurate fiat conversion.
2FA, IP whitelisting, and rate limiting for enhanced security.
๐ Security & Self-Custody
BTCPay Server's security model is built around self-custody and transparency:
- Self-custodial โ private keys never leave your control. Funds go directly to your wallet.
- Open source โ the code is publicly auditable, and the community reviews all contributions.
- Regular updates โ active development with frequent security patches.
- Secure by design โ minimal attack surface, with optional 2FA and IP whitelisting.
- Lightning security โ Lightning nodes can be managed with watchtowers for additional protection.
BTCPay Server eliminates counterparty risk entirely. Since you run your own server and control your own keys, there is no third party that can freeze, seize, or censor your payments.
โ๏ธ BTCPay Server vs Other Gateways
| Feature | BTCPay Server | CoinPayments | NOWPayments | CoinGate |
|---|---|---|---|---|
| Supported Coins | BTC (native), altcoins via plugins | 100+ | 100+ | 70+ |
| Transaction Fee | 0% | 0.5% | 0.5% | 1% |
| Lightning Network | โ Native | โ | โ | โ Native |
| Self-Custodial | โ | โ | โ | โ |
| Hosting | Self-hosted | Custodial | Cloud | Custodial |
| Open Source | โ (MIT) | โ | โ | โ |
| Fiat Settlement | โ | โ | โ | โ |
๐ Use Cases & Industries
Online stores using WooCommerce, Shopify, or custom platforms.
Recurring billing for software, hosting, and membership sites.
In-game purchases, casino payments, and virtual goods.
Accept donations with zero fees and full transparency.
Merchants who prioritize financial sovereignty and privacy.
๐ Best Practices for BTCPay Server Merchants
- Enable Lightning Network โ offer Lightning payments to attract customers who prefer instant, low-cost Bitcoin transactions.
- Use a reliable hosting provider โ choose a VPS with good uptime and scalability for your transaction volume.
- Set up proper backups โ regularly back up your server configuration, wallet seeds, and Lightning node data.
- Keep your server updated โ regularly update BTCPay Server and your node software for security patches.
- Monitor your Lightning channels โ keep sufficient inbound and outbound liquidity for smooth Lightning payments.
- Use 2FA and IP whitelisting โ secure your admin interface against unauthorized access.