Skip to main content

Prerequisites

Before you begin integrating Lightning Enable, ensure you have the following ready.

Provider Verification Required

You must complete verification with your chosen payment provider (Strike or OpenNode) before you can accept payments. This is a regulatory requirement and cannot be bypassed.

Required​

1. Payment Provider Account​

You need an account with at least one payment provider. Strike is the default and recommended for most merchants. To receive into your own Lightning wallet instead, see Nostr Wallet Connect (receive-only; no refunds or on-chain).

The hosted platform connects to provider production APIs, so you need a production key; sandbox and testnet keys don't work. Test with a demo invoice (amount: 0) or a small real payment.

Steps:

  1. Sign up at dashboard.strike.me
  2. Complete KYC verification
  3. Generate an API key from your dashboard
  4. Store the API key securely

Detailed Strike Setup Guide

Option B: OpenNode​

Steps:

  1. Sign up at app.opennode.com
  2. Complete KYB verification (required for mainnet, plan 2-4 business days)
  3. Generate an API key
  4. Store the API key securely

Detailed OpenNode Setup Guide

2. Lightning Enable Account​

You need a Lightning Enable account for your merchant API key — the key that lets you create L402-protected endpoints. Both paid plans include the full L402 stack (unlimited endpoints, per-endpoint pricing, the Producer API); the difference is settlement-provider choice and support, not whether you can monetize APIs.

Available Plans:

PlanMonthlyBest For
Free Producer SandboxFree — no cardHobbyists, demos, and side projects (3 endpoints, 200 challenges/mo, 1,000 sats max per challenge)
Agentic Commerce$49Developers with real traffic (unlimited L402 endpoints, Strike settlement)
Agentic Commerce — BusinessContact usTeams and platforms — white-glove onboarding and direct founder access

Agentic Commerce and Agentic Commerce — Business both include access to all platform integrations (Shopify Commerce). Agentic Commerce also includes a 30-day free trial through self-serve checkout; Business is contact-only (email support@lightningenable.com — it isn't purchasable through /Checkout), and any trial terms are arranged directly.

You don't need a card to start

Get a merchant API key for free with the Free Producer Sandbox (sign up — 3 endpoints, no card), or unlock a full 30-day Agentic Commerce trial by paying a 100-sat Lightning challenge — no card, no form — via L402 Fast Lane.

Every on-ramp gives you a merchant API key and dashboard access.

3. Development Environment​

Any platform that can make HTTP REST API calls:

Recommended:

  • .NET 9 / ASP.NET Core
  • Node.js / TypeScript
  • Python
  • Any language with HTTP client support

Technical Requirements:

  • HTTPS support (required for webhooks)
  • Ability to store API keys securely
  • JSON parsing capability

Webhook Endpoint​

For production use, webhooks provide instant payment notifications:

  • Public HTTPS URL (not localhost)
  • Ability to validate HMAC signatures
  • Idempotent processing (webhooks may retry)

For local development, use ngrok to expose your local server.

Platform-Specific Requirements​

For Agentic Commerce​

If you're implementing L402 API monetization:

  • Production provider key (mainnet/production payments required)
  • Public API endpoint to protect
  • Strike recommended for L402. OpenNode doesn't surface payment preimages, so it's a poor fit for L402 flows.

Environment Checklist​

Use this checklist before starting integration:

Development​

  • Payment provider account created (Strike or OpenNode)
  • Provider production API key generated
  • Lightning Enable account created (Free Producer Sandbox, trial, or paid plan)
  • Merchant API key received
  • Development environment ready
  • ngrok installed (for webhook testing)
  • Flow tested with a demo invoice (amount: 0)

Production​

  • Provider verification completed (Strike KYC or OpenNode KYB)
  • Small real payment completed end to end
  • Webhook endpoint deployed and accessible
  • HTTPS configured
  • API keys stored securely (not in code)
  • Error logging and monitoring enabled

Next Steps​

Once you have all prerequisites:

  1. Quick Start Guide - Create your first payment
  2. Provider Setup — Strike (recommended) or OpenNode
  3. Choose your product: