Create a lightning invoice
One step with BTCPay Server. We can help you get access.
Get something done
Create a lightning invoice
with BTCPay Server
Use BTCPay Server: its BTCPay Greenfield Lightning (Store) API lets you create a lightning invoice in a single step (POST /api/v1/stores/{storeId}/lightning/{cryptoCode}/invoices). capabilities.work can help you get signed up and connected.
- How do I create a lightning invoice for a customer?
- Can I set an expiry on a new invoice?
Say it to your AI assistant
- Create a {amount} satoshi invoice on {cryptoCode} in store {storeId}.
- Create an invoice for {amount} satoshi on the {cryptoCode} node of store {storeId} expiring in {expiry} seconds.
For your developer
POST /api/v1/stores/{storeId}/lightning/{cryptoCode}/invoices in BTCPay Greenfield Lightning (Store) API. Full spec on APIs.io.