This endpoint creates a new Bitcoin Lightning Network BOLT11 invoice by forwarding your request to Buda.com’sDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/nicosaporiti/buda-lightning-invoice/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/v2/lightning_network_invoices. The server authenticates with Buda.com using server-side HMAC-SHA384 credentials — no API keys are required from you. On success it returns the encoded payment request string, which can be displayed as a QR code or pasted directly into any Lightning-compatible wallet.
Request
Content-Type:application/json
Amount in satoshis. Must be an integer greater than or equal to 1. Note that
the
/callback LNURL-pay endpoint uses millisatoshis instead; this endpoint
always expects whole satoshis.Invoice description or memo that appears in the payer’s wallet. Minimum
length: 1 character.
Response (200 OK)
BOLT11-encoded payment request string. Starts with
lnbc on mainnet. Pass
this value to POST /status to poll for payment confirmation.The amount from the request, echoed back in satoshis.
The description from the request, echoed back.
The
invoice field is a standard BOLT11 payment request that starts with
lnbc on the Bitcoin mainnet. It is universally compatible with Lightning
wallets such as Phoenix, Wallet of Satoshi, Muun, Zeus, and any other
BOLT11-compliant application.Error Responses
All errors return HTTP 400 Bad Request. Validation error — returned whenamount or msg fail the input checks:
errors. A request with a valid amount but missing msg will only include the msg key.
Buda API error — returned when Buda.com’s API rejects the request (e.g. invalid credentials, service unavailable):