Skip to main content

Command menu

Jump to a page or search the catalog

Payment Gateway Integrations

x402 v2 Pay-Per-Call API + Multi-Chain EVM Stablecoin Checkout Starter Kit (Node.js)

Production Express middleware for HTTP 402 USDC micropayments (EIP-3009) plus multi-chain ERC-20 direct checkout verifier and widget.

$29.00

What you get: 1 file · 10.8 KB · ZIP

See purchase options

Preview

Product description

Production-ready Node.js 22 + Express starter kit for monetizing REST APIs, AI agent tools, and digital downloads with HTTP 402 (x402 v2 / v1) USDC micropayments and zero-fee direct on-chain ERC-20 stablecoin checkout—no payment processor account required.

KEY FEATURES

- x402 v2 & v1 Express Middleware: Drop-in middleware generating spec-compliant PAYMENT-REQUIRED headers, EIP-3009 USDC payment quotes, Bazaar discovery metadata, prepaid X-API-Key authentication, and automated facilitator verification and settlement with failover.

- Multi-Chain Direct ERC-20 Transfer Verifier: Verifies on-chain USDC/USDT Transfer event logs directly against public EVM RPC endpoints (BNB Smart Chain, Base, Arbitrum, Polygon) with built-in Node.js SQLite replay protection and automatic API-key fulfillment.

- Machine Discovery Ready: Serves /.well-known/x402.json and /api/chains out of the box so autonomous AI agents and wallets can discover paid endpoints automatically.

- Browser Checkout Widget & End-to-End Test Script: Includes a ready-to-embed EIP-1193 browser wallet widget (MetaMask / Rabby / Coinbase Wallet 1-click chain switch + ERC-20 transfer + manual tx-hash fallback) plus a Python EIP-3009 Base mainnet test script.

WHAT YOU GET (1 ZIP ARCHIVE — 10 FILES, 11.1 KB, JAVASCRIPT, PYTHON & CONFIG TEMPLATES)

- src/x402.js — HTTP 402 v2/v1 + X-API-Key Express middleware with facilitator failover.

- src/checkout.js — Multi-chain ERC-20 receipt verifier with SQLite replay ledger.

- src/server.js — Complete runnable Express server with paid /api/v1/demo, /api/checkout/verify, and /.well-known/x402.json.

- public/checkout-widget.js — Drop-in browser wallet checkout widget.

- scripts/test_x402.py, scripts/Caddyfile.example, scripts/systemd.service.example — Testing and deployment files.

- package.json, README.md, and LICENSE (MIT License — full personal and commercial use).

What you get

1 file · 10.8 KB

  • emberlane-x402-checkout-kit-v1.0.zipZIP · 10.8 KB

Included in Getly Pro

Download this and 8,000+ other products with one subscription, from $9.99 a month.

Join Getly Pro
LicenseCommercial use allowed
PublishedNov 23, 2026
File size10.8 KB
File formatZIP
Versionv1.0

Tags

x402crypto-paymentsusdcweb3nodejsexpressapi-monetizationai-agentsboilerplatecheckout
E
Emberlane

Frequently asked questions

Do I get access instantly?

Yes. This is a digital product - you can download it right after checkout, straight from your library.

Can I use it for commercial projects?

Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.

What's your refund policy?

You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.

What file formats and sizes will I get?

You'll download 1 file - ZIP - 10.8 KB in total.

Do I get free updates?

Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.

Price

$29.00