Accept crypto payments in Node.js
Add non-custodial crypto checkout to your Node.js app: create an invoice, send the buyer to the hosted checkout, and fulfill on a signed webhook. Funds settle straight to your own wallet, $0 platform fees.
Install
npm install @shieldz/sdk
Create an invoice and redirect to checkout
import Shieldz from "@shieldz/sdk";
const shieldz = new Shieldz(process.env.SHIELDZ_API_KEY);
const invoice = await shieldz.invoices.create({ amount_usd_cents: 5000, memo: "Order" });
// redirect the buyer to invoice.pay_url
Verify the webhook
import { constructEvent } from "@shieldz/sdk";
try {
const event = await constructEvent(rawBody, sigHeader, process.env.SHIELDZ_WEBHOOK_SECRET);
if (event.type === "invoice.paid") { /* fulfill the order */ }
} catch { /* bad signature, reject */ }
Full reference: API docs, SDKs, API reference.
Explore Shieldz
Crypto payment gateway: overview, non-custodial, Zcash.
Accept a coin: Bitcoin, USDC, USDT, Zcash.
Compare: vs Coinbase Commerce, vs BTCPay Server, vs ZGo, vs CryptAPI, vs NOWPayments, vs Cryptomus, vs BitPay, vs CoinGate, vs OpenNode, vs Plisio, vs BlockBee, vs CoinPayments.
Use cases: For freelancers, For creators, For open-source projects, For online stores, For SaaS, For VPN & hosting providers, For agencies, For nonprofits, For digital sellers.
Guides: Node.js, FastAPI, .NET, WooCommerce.
Build: SDKs, API reference, quickstart. Learn: overview, blog, how it works, supported coins, pricing, is it safe, verify it yourself.