LNURL-pay

Demo · format-valid community

/.well-known/lnurlp/<user>

Standard: LNURL LUD-06

Lightning Addresses: turn user@domain into a payable Lightning address via a well-known JSON file.

What it is

A Lightning Address (name@domain) lets anyone pay you over Lightning without pasting an invoice. Wallets resolve /.well-known/lnurlp/<name> to get payRequest JSON: the callback URL, min/max amounts in millisatoshis, and metadata describing the payment.

The threat it addresses

Invoices are one-time, long strings that are awkward to share publicly. LNURL-pay gives a stable address with metadata, so you can put your address on a website and receive payments (with amount choice and comments) from any wallet.

How it works

  • A wallet sees name@domain and GETs https://domain/.well-known/lnurlp/name.
  • The response declares callback, minSendable/maxSendable (msat), and metadata (a JSON string: text/plain description, optional image).
  • The wallet calls the callback with ?amount=<msat> and receives a real Lightning invoice (or an error).
  • This demo serves the payRequest document and a callback that honestly reports no Lightning node is attached.

Honesty notes

  • Demo: the callback returns an honest error — no Lightning node is attached.

In the wild

Links verified to serve this URI on 2026-08-05; some point at the governing spec where no live deployment could be verified.

Try it

Live demo

Format-valid payRequest + honest demo callback

Content-Type: application/json; charset=utf-8
{
  "callback": "https://well-known.page/.well-known/lnurlp/demo/callback",
  "maxSendable": 1000000,
  "minSendable": 1000,
  "metadata": "[[\"text/plain\",\"Donate to the well-known-showcase demo (no real Lightning node attached)\"]]",
  "tag": "payRequest",
  "commentAllowed": 0
}