XPUB (via BTCpay server)
General Information
An XPUB (Extended Public Key) is a master public key derived from an HD (Hierarchical Deterministic) Bitcoin wallet. Sharing an XPUB allows an application to generate a fresh on-chain receiving address for every invoice without ever having access to your private keys. payinbtc.me uses your XPUB to assign unique deposit addresses per invoice, keeping your on-chain payments organised and privacy-preserving. Your funds remain fully self-custodial — only you control the private keys. To use XPUB integration, export it from your hardware wallet (Ledger, Trezor, Coldcard) or software wallet once we ask for it. Never share your XPRV (private key equivalent).
Setup
The XPUB wallet needs to be used with BTCpay server hosting. If you choose our hosted solution we will contact you during the setup for the wallet details. If you host your own BTCPay Server or are using another hosted solution please check https://docs.btcpayserver.org/ConnectWallet/ for more details on the setup. For privcay reasons you better have a seperate wallet/xpub for connecting to btcpay server instances unless you host yourself. Since with the xpub you enable the host to view all your transactions.