Lightning Payment Gateway

A simple and secure way to process Lightning Network payments

About

This payment gateway interfaces with Phoenix Server by ACINQ (https://phoenix.acinq.co/server) to process Bitcoin Lightning Network payments. It provides a simple web interface for creating invoices and managing payments.

Features

  • Create Lightning Network invoices with custom amounts
  • Generate QR codes for easy payment
  • Real-time payment status updates
  • Support for BOLT12 offers

Technical Details

The gateway communicates with Phoenix Server through its REST API. When creating an invoice:

  1. POST request to /createinvoice with amount and description
  2. Phoenix Server generates a BOLT11 invoice
  3. Frontend displays QR code and monitors payment status
  4. Real-time payment status updates via polling

Getting Started

Click "Create Invoice" in the navigation menu to generate a new Lightning Network invoice. Enter the amount in satoshis, and a QR code will be generated for easy payment.