The short version
| On-chain BTC | Lightning | |
|---|---|---|
| Time to paid | About 20 minutes (2 confirmations) | Seconds |
| Fee, paid by the buyer | Set by block-space demand, not by amount | Usually under a cent |
| Best order size | Large, not urgent | Small, buyer is waiting |
| Who can pay | Every Bitcoin wallet | Lightning wallets with enough outbound liquidity |
| Typical failure | Fee set too low, payment arrives late | No route for a large amount |
Offer both, and let the buyer pick. The rest of this page explains why the table looks the way it does.
On-chain: the fee does not care what you sold
A Bitcoin transaction pays for the block space it takes up, measured in virtual bytes. It does not pay a percentage. A common payment — one input, two outputs, native SegWit — is about 141 vB. The fee is that size multiplied by the going rate in satoshis per vB.
So the arithmetic is simple. At 5 sat/vB the transaction costs 705 sats. At 40 sat/vB, a rate busy periods reach, it costs 5,640 sats. Multiply by the Bitcoin price on the day and you have the buyer's cost. With Bitcoin at $100,000, that is $0.71 on a quiet day and $5.64 on a busy one.
Now put that next to the order. On a $2,000 invoice, $5.64 is 0.3%. On a $5 invoice it is more than the item. This is the whole reason small Bitcoin payments belong on Lightning: the on-chain fee is flat per transaction, so it punishes small tickets and barely touches large ones.
Two details work in your favour. OrbChain gives each invoice a native SegWit address, the bc1q… form. Every current wallet can send to it, and paying to SegWit is among the cheapest output types. And the buyer pays the network fee at send time, so it never comes out of your settled amount.
Why two confirmations, and why not zero
A Bitcoin transaction is visible to the network seconds after the buyer hits send. It is tempting to mark the order paid right there. Don't.
An unconfirmed transaction is a proposal, not a payment. With replace-by-fee, the sender can broadcast a second transaction that spends the same coins somewhere else, at a higher fee, and miners will prefer it. Most wallets expose this as a "bump fee" button. The same mechanism redirects the payment back to the sender.
One confirmation closes that door for ordinary buyers. Two closes it against the rare case where a block is orphaned and its transactions return to the pool. OrbChain credits on-chain BTC at two confirmations by default, about 20 minutes at Bitcoin's ten-minute block target. You can raise the threshold in settings for high-value goods. You cannot lower it below the platform minimum.
Twenty minutes is fine for a hosting invoice or a wholesale order. It is not fine for someone standing at a counter. For the general model across all chains, see when a crypto payment is actually final.
Lightning: instant, with one limit
Lightning settles a payment in seconds for a fee usually well under a cent. There is no confirmation wait, because the payment is final the moment the invoice is settled. For a coffee, a tip, a game top-up, or any sale where the buyer is watching the screen, it is the better rail by a wide margin.
The limit is liquidity. A Lightning payment has to find a path of channels with enough capacity for the full amount. A $10 payment almost always finds one. A $10,000 payment often does not, and the buyer's wallet reports "no route". That is not a bug in your integration. It is the network telling you this amount belongs on-chain.
Two more practical points. A Lightning invoice is single-use and expires, so a buyer who comes back an hour later needs a fresh one — the hosted checkout handles that. And not every Bitcoin holder has a Lightning wallet, so Lightning should sit beside on-chain, not replace it. How we run Lightning without operating our own liquidity service is covered in a separate post.
Where the line sits
There is no universal threshold, because the on-chain fee moves. A working rule:
- Under about $50: Lightning first. The on-chain fee is a visible share of the order.
- $50 to a few hundred dollars: either rail works. Show both and let the buyer choose.
- Above that: on-chain. The fee is a rounding error and routing is no longer a concern.
If you sell in one size band, you can enable only the rail that fits. Most stores should enable both.
Enabling it
In the dashboard: Settings → Accepted Coins → enable BTC and BTC_LN. Both then appear in the hosted checkout coin picker, on payment links, and on invoices. Through the API, an invoice needs only an amount and a currency:
curl https://orbchain.io/v1/payment/invoice \
-X POST \
-H "Content-Type: application/json" \
-H "merchant_api_key: YOUR_MERCHANT_API_KEY" \
-d '{
"amount": "50.00",
"currency": "USD",
"order_id": "order-8812",
"return_url": "https://yoursite.com/thanks"
}'
The response carries a payment_url. Send the buyer there. They pick a rail, and the page shows either a BOLT11 invoice with a QR code or a bc1q… address with the exact amount. Your server learns the outcome from a signed webhook, not from the browser — the pattern is in webhooks that never lose a payment.
Three settings worth a minute
- Price in fiat. Invoice in USD or EUR and the BTC amount is locked at the exchange rate when the buyer picks a coin. Your books stay in the currency you report in. Details in pricing invoices in fiat.
- Mind the invoice window. A hosted invoice stays open for 60 minutes by default, and you can set a different
lifetime, in minutes, per invoice. On-chain buyers who set a low fee can miss that window. What happens then is in underpaid, overpaid, paid late. - Decide what you hold. Bitcoin moves in price. If your costs are in dollars, Auto Settle converts incoming BTC to a stablecoin so the amount you invoiced is the amount you keep.
What goes wrong, and what to do
- "I sent it but the order still says waiting." On-chain, this is nearly always a low fee. The transaction is in the pool and will confirm when fees drop, or the buyer can bump it from their wallet.
- "My wallet says no route." The amount is too large for the Lightning paths available. Switch the same invoice to on-chain.
- "I sent from an exchange." Exchanges batch withdrawals and can take an hour to broadcast. Tell buyers paying from an exchange to expect that delay, or to use Lightning if the exchange supports it.
- "I paid a little less." Exchanges also deduct their own withdrawal fee from the amount sent. The invoice arrives short. Invoices carry a small underpay tolerance for exactly this case, and a buyer outside it can top up to the same address.
The decision, restated
On-chain Bitcoin is slow and charges a flat fee, which makes it right for large payments. Lightning is instant and nearly free, which makes it right for small ones, up to the point where liquidity runs out. They cover each other's weak side. Enable both, price in fiat, and credit on-chain only after confirmations. That is the complete Bitcoin checkout.