BTCPay Server is free, open-source software that lets businesses accept Bitcoin and Lightning payments directly, without a payment processor holding funds or charging fees. Hosting it on your own VPS gives you full control over transactions, privacy for your customers and no third-party approval process. It integrates with WooCommerce, Shopify-style checkouts, invoicing tools and custom applications through its API.
Why self-host a Bitcoin payment processor
With BTCPay Server, payments go straight to your wallet. There are no processing fees beyond network fees, no account freezes and no intermediary collecting customer data. You can generate invoices, run point-of-sale apps, create crowdfunding pages and accept Lightning payments for small, instant transactions. Hosting it yourself keeps the payment infrastructure fully under your control.
- Direct payments to your own wallet
- On-chain Bitcoin and Lightning Network support
- WooCommerce and e-commerce plugins
- Invoices, payment requests and point of sale
- REST API for custom integrations
Server requirements
BTCPay Server is deployed with Docker and runs a Bitcoin node, NBXplorer and optional Lightning implementations. A pruned node keeps storage requirements manageable, while a full node needs several hundred gigabytes. Plan for at least a few gigabytes of RAM, more with Lightning, and NVMe storage for faster initial sync. A stable connection and continuous uptime are important for payment processing.
Security best practices
Use a watch-only wallet with an extended public key, so private keys never touch the server. Keep signing keys on hardware wallets. Secure the server with SSH keys, firewalls and regular updates. Enable two-factor authentication for BTCPay accounts, and back up Lightning channel data if you run a Lightning node.
Integrating with your store
Install the BTCPay plugin for WooCommerce or other platforms, connect it with API keys and test payments on testnet or with small amounts before going live. Configure invoice expiry and confirmation thresholds to fit your business.
Compliance considerations
Accepting Bitcoin does not remove tax or accounting obligations. Record payments according to the rules that apply to your business.
Choosing a plan
Compare RAM and storage in the VPS plans below to host BTCPay Server, and pay for hosting in Bitcoin if you prefer.