Security & Settlement Architecture
Zero Private Keys on Your Web Server: How Watch-Only xPub Checkout Works
Traditional self-hosted payment scripts ask you to paste a hot-wallet private key into an .env file—meaning a single server breach drains your treasury. Custodial gateways hold your funds and take 0.5%–1% forever. PayKit uses deterministic BIP-32 public-key derivation so your server can generate unique per-order addresses and verify on-chain receipts without ever touching a spending key.
Comparison Against Stripe & Custodial Crypto Gateways
| Metric | Card Gateways (Stripe) | Custodial Crypto Gateways | PayKit Managed xPub Gateway |
|---|---|---|---|
| Processing Fee | 2.9% + $0.30 + FX fees | 0.5% – 1.0% + withdrawal fee | 0% per-order cut · Flat annual care |
| Chargeback / Freeze Risk | High ($15 dispute penalties) | Custodial compliance holds | Final on-chain settlement to your cold wallet |
| Server Key Exposure | N/A | Counterparty custody risk | Zero private keys stored on server |