Lightning Payment API

The fastest way to integrate Lightning Network payments. Full send and receive via API with no nodes, no channels, and sub-second settlement.

Spark Wallet
Total Balance$2,536.00
+ $67.42+ 2.73%
Bitcoin
Bitcoin0.01024 BTC
$1,024.00+2.71%
USDC
USDC500.00 USDC
$500.00+0.00%
Solana
Solana3.82 SOL
$612.00+5.23%
Ethereum
Ethereum0.125 ETH
$400.00-4.56%

Lightning infrastructure is too complex for most teams

Integrating Lightning means running nodes, opening channels, managing inbound liquidity, provisioning capacity, handling routing failures, monitoring uptime, and rebalancing constantly. Most payment platforms can't justify the operational burden. Even Lightning service providers charge high fees, require custodial setups, or impose strict limits. The result is that Lightning adoption stalls at the infrastructure layer: teams want instant bitcoin payments but can't afford the complexity. Spark eliminates the entire stack between your API call and the Lightning Network.

Lightning payments with one API call

Full Lightning send and receive

No nodes to run, no channels to manage, no liquidity to provision. Call the API, get an invoice, receive a payment. Send to any Lightning address or invoice. Full interoperability with the Lightning Network.

Sub-second settlement

Lightning payments settle instantly. No block confirmations, no routing delays, no payment retries. Funds are spendable the moment the payment completes. Real-time money for real-time applications.

Self-custodial by design

You never touch user funds. Every payment flows directly to the user's self-custodial wallet. No custodial risk on your balance sheet, no trust assumptions, no regulatory overhead from holding customer assets.

Bitcoin and stablecoins in one integration

Lightning payments work with BTC, USDT, and USDB in the same API. Your users can receive bitcoin over Lightning and hold it as stablecoins without leaving the protocol. One integration, instant settlement across all assets.

Lightning Network interoperability without the infrastructure

Initialize the SDK

Install the Spark SDK for your platform (TypeScript for web and Node.js, native bindings for mobile). Configure your API key and you're ready to transact.

Generate Lightning invoices

Request a Lightning invoice for any amount. Your users can pay it from any Lightning wallet. Payments settle instantly, no routing failures, no failed HTLCs.

Send Lightning payments

Send to any Lightning invoice or address. Spark handles routing, liquidity, and capacity. The payment either succeeds instantly or fails fast: no stuck payments, no manual intervention.

Receive webhooks for settlement

Payments trigger webhooks the moment they settle. You get instant confirmation: no polling, no syncing, no waiting for blocks. Update your app state in real time.

Scale without infrastructure

Handle 10 payments or 10 million: Spark manages the Lightning layer. No nodes to scale, no liquidity to provision, no ops burden as your volume grows.

Products

Spark is transformative. It redefines what Bitcoin can be, evolving it from a monetary network into an application platform.

Roy Sheinfeld
Roy SheinfeldCEO, Breez

FAQ

Payments settle in under a second. Lightning transactions on Spark are final the moment they complete: no block confirmations, no pending states.

Lightning payments within Spark are fee-free. You only pay Bitcoin network fees when depositing to or withdrawing from Spark. No per-transaction markup, no hidden costs.

Yes. Spark is fully interoperable with the broader Lightning Network. Your users can send and receive payments to any Lightning wallet, node, or service. No walled garden: payments route across the entire network.

The Spark SDK supports TypeScript (Node.js, browser, React Native). Breez also offers a Rust SDK with bindings for Swift, Kotlin, Python, Flutter, Go, C#, and WebAssembly.

Spark supports Lightning payments up to the limits of the Lightning Network itself. For larger amounts, you can batch payments or fall back to on-chain bitcoin with instant 0-conf deposits.

Spark eliminates the most common failure modes of Lightning: insufficient inbound liquidity, channel capacity issues, and routing failures. Payments either succeed instantly or fail fast with a clear error. No stuck transactions.

Add Lightning payments to your app

Spark handles the complexity of Lightning so you can focus on building your product. One API for instant bitcoin payments.