# How to Build a Self-Hosted Bitcoin Payment Gateway Without a Third-Party Processor Separate the public checkout interface from the private wallet executor. Expose only the receive and observation operations needed by the merchant. Authenticate customers separately and keep the wallet credential server-side. This dispatch example demonstrates an allowlist, not a network gateway; self-hosting still requires a Bitcoin backend and operational security. Run `python3 stage24-self-hosted-gateway.py` for local assertions. Synthetic fixtures only.