Skip to main content

Two modes

Managed mode — l402kit.com hosts the Lightning node. You add your Lightning address. We forward 99.7% of every sat to you automatically. Soberano mode — You connect your own Lightning wallet/node. 0% fee, full custody, works with any provider.
No Lightning node needed. Add your Lightning address and start earning — l402kit.com handles all invoice creation and payment routing. Fee: 0.3% per sat received. 99.7% lands directly in your Lightning wallet. No monthly fee.
How it works:
  1. Your API calls ManagedProvider.fromAddress("you@domain.com")
  2. When a caller hits your endpoint, l402kit.com creates a Lightning invoice
  3. Caller pays → Lightning settles → 99.7% forwarded to your Lightning address instantly
  4. Your API verifies the cryptographic proof and returns 200 OK
The 0.3% routing fee is the only cost. No monthly fee. No account registration. Any Lightning address works (Blink, Phoenix, Alby, Strike, Wallet of Satoshi, etc.).

Trust & availability

Who runs l402kit.com? ShinyDapps (open source, MIT). The managed infrastructure runs on Cloudflare Workers — globally distributed, no single server to go down. Uptime: Monitored 24/7 at stats.uptimerobot.com/57uOzF17jK. SLA target: 99.9%. What if l402kit.com disappears? Your verification logic is local — SHA256(preimage) == paymentHash runs in your process, zero network calls. Only invoice creation touches l402kit.com. If the managed service goes down, switch to any soberano provider in one line:
No other code changes. Already-paid tokens keep working — verification is purely cryptographic. Can I self-host the managed layer? Yes. The full source is on GitHub under MIT. cloudflare/ contains the managed API worker — deploy it to your own Cloudflare account in 5 minutes.
Blink is a free custodial Bitcoin Lightning wallet with a GraphQL API. No KYC, no monthly fee, instant setup. Use it to run in soberano mode with 0% fee.
Contingency plan: Blink is a free service — their pricing can change. If Blink adds fees or limits the API, switch to another soberano provider in one line of code (no other changes required, already-paid tokens keep working). Zero lock-in. Good alternatives: LNbits (self-hosted, 0% forever), OpenNode (commercial SLA), Alby Hub (self-custodial), or BTCPay (fully sovereign).
Get started:
  1. Create account at dashboard.blink.sv
  2. Go to API Keys → create a new key
  3. Copy your BTC Wallet ID from the wallet page
Environment variables:

LNbits (Soberano — 0% fee)

LNbits is an open-source Lightning wallet server. Self-host it or use a public instance. Get started:
  1. Set up LNbits (self-host or use legend.lnbits.com)
  2. Create a wallet → copy the Invoice/read key
Environment variables:

OpenNode (Soberano — 0% fee)

OpenNode is a Lightning provider with a free sandbox for testing. Get started:
  1. Create account at app.opennode.com
  2. Go to IntegrationsAPI Keys → create a key

Alby Hub (Soberano — 0% fee)

Alby Hub is a self-custodial Lightning node in the cloud. Your keys, your sats — no custodian. Get started:
  1. Create a Hub at hub.getalby.com (or self-host)
  2. Go to Settings → Access Tokens → create token with invoices:create + invoices:read scopes
  3. Copy your Hub URL and access token
Environment variables:

BTCPay Server (Soberano — 0% fee)

BTCPay Server is fully self-sovereign Bitcoin + Lightning. Your node, your keys, zero custody. Compatible with: self-hosted (Umbrel, Start9, VPS) or managed (Voltage, LunaNode). Get started:
  1. BTCPay store → Lightning → Settings
  2. Account → API Keys → generate key with scope btcpay.store.cancreatelightninginvoice
  3. Copy your Store ID from the store URL
Environment variables:

Custom provider (Soberano — 0% fee)

Implement the LightningProvider interface to use any Lightning backend: