Integration Guide
Plan No Longer Available
The Standalone API plan is not available to new customers.
If you are evaluating Lightning Enable, use one of the current plans instead:
- Agentic Commerce — Individual ($99/mo) — Full REST API + L402 protocol
- Agentic Commerce — Business ($299/mo) — Full REST API + pay-per-request API monetization
- Kentico Commerce ($249/mo) — Full REST API + Xperience by Kentico integration
Existing Standalone subscribers are unaffected. The documentation below is retained for their reference.
This guide walks you through integrating the Lightning Enable Standalone API into your application.
Overview
Integration involves:
- Creating payments when customers checkout
- Displaying payment options (QR code, hosted checkout)
- Receiving payment confirmations (webhooks or polling)
- Fulfilling orders
Authentication
All API requests require an API key in the X-API-Key header:
curl -X GET https://api.lightningenable.com/api/payments/inv_123 \
-H "X-API-Key: le_merchant_abc123..."
tip
Store your API key in environment variables, never in code:
export LIGHTNING_API_KEY="le_merchant_abc123..."