12.1 Introduction
- Getting paid reliably,
- Managing cash flow,
- Avoiding unnecessary financial risk (especially Bitcoin volatility),
- Reconciling payments easily into their accounting systems.
12.2 Understanding merchant mindset
Key insight: Merchants care more about operational reliability than about ideological Bitcoin purity. Build for their business needs first.
12.3 Merchant payment flow basics
Basic merchant payment flow:- Create Invoice The merchant generates a Bitcoin payment request (invoice) for a specific amount. Often with an expiry time (e.g., pay within 30 minutes).
- Show Invoice to Customer Display QR code + Bitcoin address. Show BTC amount and optionally fiat equivalent.
- Detect Payment Listen for incoming Bitcoin transactions to the address. Verify payment amount matches requested invoice.
- Confirm Payment Wait for the appropriate number of confirmations (1–6 based on risk tolerance).
- Mark Invoice Paid Notify merchants automatically via dashboard or app.
- Settle Funds Leave in Bitcoin or auto-convert to fiat based on the merchant’s settings.
12.4 Settlement models
Tip: Sensible defaults. Offer default auto-conversion to fiat for everyday merchants, but allow advanced merchants to opt-in to Bitcoin retention.
12.5 Invoice expiry and confirmations
Because Bitcoin payments are push-based (not pull like cards):- Sometimes customers generate a payment but never broadcast it.
- Or send with too low a fee and it gets stuck in the mempool.
- Cancel invoice.
- Allow merchant to request customer to generate a new one.
Show the confirmation status clearly on merchant dashboards.
Example display: “Payment detected, awaiting 2 more confirmations.”
12.6 Refund flows and dispute handling
- Bitcoin is irreversible once confirmed.
- No native refund button.
- Refunds must be manually initiated by the merchant if needed.
- Merchant clicks “Issue Refund” on a transaction in their dashboard.
- Merchant must request refund address from customer.
- Merchant manually sends bitcoin back to customer’s address.
12.7 Building merchant dashboards
Merchant dashboards must:- Show payment history with transaction details.
- Display invoice statuses (Pending, Paid, Expired, Cancelled).
- Show confirmations clearly.
- Allow filtering by date, customer, status.
- Provide CSV export for accounting.
12.8 Fee management for merchants
Merchants must understand:- Bitcoin network fees: paid by customers when sending bitcoin.
- Service fees: optional platform fee deducted for providing payment services.
- FX spreads: when converting bitcoin to fiat (the spread between market rate and payout rate).
- Show BTC network fee estimates during invoice generation.
- Separate merchant service fees from Bitcoin network fees visually.
12.9 Lightning network for merchants
Lightning is ideal for merchant use cases:- Near-instant Bitcoin payments.
- Very low fees compared to on-chain transactions.
- Good for low-value transactions (e.g., food vendors, POS systems).
- Allow merchants to create Lightning invoices easily.
- Abstract channel liquidity management from merchants (handled by the platform backend).
- Allow auto-settlement to on-chain Bitcoin or fiat daily.
12.10 Compliance and accounting for merchants
Merchants accepting bitcoin must:- Record Bitcoin sales for accounting and tax purposes.
- Track Bitcoin transaction IDs as payment proof.
- Convert BTC amounts to fiat equivalent for tax reporting (where required).
- Providing clear CSV exports.
- Displaying historical Bitcoin-to-fiat conversion rates at time of payment.
- KYC for merchants,
- VAT or GST collection,
- Crypto transaction reporting.
12.11 PM reflection points for merchant products
When designing Bitcoin merchant products:- Teach merchants Bitcoin basics without overwhelming them.
- Build simple payment flows but leave room for flexibility (e.g., fiat settlement choice).
- Monitor Bitcoin network conditions, notify merchants if fees spike.
- Handle slow or missing payments gracefully (expired invoices, re-generation).
- Protect against refund frauds through manual verification processes.
12.12 Summary of module 12
Building Bitcoin payment products for merchants requires:- Understanding operational and financial realities.
- Abstracting Bitcoin’s complexity behind simple invoice/payment flows.
- Offering flexibility in settlement (BTC vs fiat).
- Handling refunds, disputes, accounting clearly and respectfully.
- Exploring Lightning for faster and cheaper Bitcoin payments.