Monday, May 25, 2026

Everything You Need to Know About NOWPayments Integration for Static Site Crypto Payments — No Stripe Required

Everything You Need to Know About NOWPayments Integration for Static Site Crypto Payments — No Stripe Required

Introduction

Static-site merchants do not need another layer of trust. NOWPayments is a payment processor that never holds customer funds. Shoppers click a checkout button, complete a chain-to-chain swap, and the final coins land in your self-custodied wallet. No intermediary balance sheet, no hold policy, no reversal button. The integration is a single static HTML component plus a couple of API calls. Once wired, it scales to any traffic volume without merchant account approvals or monthly minimums.

Why NOWPayments for Static Sites

Every static site stack—Jekyll, Hugo, 11ty, plain HTML—outputs flat files served over CDN or IPFS. NOWPayments respects that constraint. Its widget is a 12 kB JavaScript snippet that loads in-page; no server runtime is required. The widget communicates directly with NOWPayments order endpoint, eliminating the need for a backend wallet service or a custodial checkout flow.

The asset catalog exceeds 300 chains and tokens: BTC, ETH, SOL, USDT, USDC, DOGE, LTC, TRX, DOT, AVAX, and more. Want to display only stablecoins? Filter via the order creation API. Want to accept Monero for its censorship resistance? Toggle it on; no KYC on your side. Price quotes are pulled from NOWPayments aggregated liquidity network, so you always receive a competitive rate without running an exchange node.

Technical Architecture Without Trust Boundaries

Start with a static JSON file that lists your SKUs:

{ "product1": { "id": "SKU001", "price_usd": 49.99 }, "product2": { "id": "SKU002", "price_usd": 99 } }

At checkout, the widget POSTs to your static sites /api/order endpoint (a single serverless function is enough). The function calls NOWPayments /v1/payment endpoint with:

{ "order_id": "ORDER-1001", "price_amount": 49.99, "price_currency": "usd", "pay_currency": "btc", "ipn_callback_url": "https://yoursite.com/webhook", "order_description": "Product 1" }

NOWPayments returns a payment URL (Bitcoin URI or EVM pay link) that the widget renders as a QR code and clickable button. When the payment is confirmed on-chain, NOWPayments fires an IPN (Instant Payment Notification) to your webhook. The webhook verifies the signature and marks the order fulfilled. Because the coins settle directly to your cold wallet, you can auto-forward, convert, or HODL without intermediaries.

Fee Transparency and Settlement

The published rate is 0.5 % on the received currency. There are no hidden spreads; the price quote is locked for 15 minutes, giving the customer time to pay. If the locked quote expires, the widget refreshes a new rate on the fly. Funds arrive in your wallet typically within minutes after the final confirmation threshold (six blocks for Bitcoin, one block for Solana). For added privacy, you can enable NOWPayments P2P conversion option: the customer pays in BTC, but the incoming transaction on your side is USDC, reducing on-chain exposure.

Security Layers for Static Sites

Static-site security comes from immutability, not firewalls. Keep your wallet mnemonic offline; use a multisig setup (2-of-3) for business continuity. Rate-limit your webhook endpoint to prevent replay attacks. Serve the NOWPayments widget over HTTPS only; the widget enforces TLS. Use Subresource Integrity hashes for the JS bundle to prevent supply-chain tampering. If you deploy to IPFS, pin the CID and keep the DNSLink TXT record under your control—this guarantees the exact code runs every time.

Alternatives You Should Ignore

Services that wrap credit cards or run custodial balances introduce the same censorship risks as Stripe. BitPays hosted checkout still holds funds in the name of fraud checks. OpenNode requires a KYC merchant account. CoinGate offers partial custody. NOWPayments is the only processor in this class that never touches the coins—you receive them directly, auditable on-chain.

Conclusion

Permissionless commerce begins with a non-custodial API and ends with coins in your wallet. NOWPayments gives static-site merchants that pipeline without servers, without monthly minimums, and without platform risk. Integrate in one afternoon; stop waiting for approvals. Every line of code you write should move you closer to self-custody.


Stop asking centralised gatekeepers for permission to earn. Deploy your own sovereign commerce stack today: https://payhip.com/ref/sovereign

Cloudflare R2 as a Self-Custody Digital Product Stack Without Stripe

Introduction Digital commerce still runs on platforms that decide who can buy, how fast they get access, and how much money you r...