Zum Inhalt
HALOWERK

Nostrwerk

lnurl invoice

Accepts three forms of recipient. A bech32 lnurl is decoded to its callback URL, a Lightning address is resolved through the well-known lnurlp path, and a Nostr public key is resolved by reading its kind 0 profile from relays and taking the lud16 or lud06 field it publishes.

POST https://nostr.halowerk.com/lnurl-invoice

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
recipientstringJalnurl1… string, Lightning address name@domain, or a Nostr public key as hex, npub or nprofile.
amount_satsintegerJaAmount in satoshi. Must lie within the limits the service declares.
commentstringNeinComment for the payment. Only sent if the service allows comments and only up to the length it allows.
zap_requestobjectNeinA signed NIP-57 kind 9734 zap request. Only sent if the service declares allowsNostr.
relaysarrayNeinwss relay addresses used only when the recipient is a Nostr public key.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "recipient",
    "amount_sats"
  ],
  "additionalProperties": false,
  "properties": {
    "recipient": {
      "type": "string",
      "description": "lnurl1… string, Lightning address name@domain, or a Nostr public key as hex, npub or nprofile."
    },
    "amount_sats": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100000000,
      "description": "Amount in satoshi. Must lie within the limits the service declares."
    },
    "comment": {
      "type": "string",
      "maxLength": 500,
      "description": "Comment for the payment. Only sent if the service allows comments and only up to the length it allows."
    },
    "zap_request": {
      "type": "object",
      "description": "A signed NIP-57 kind 9734 zap request. Only sent if the service declares allowsNostr."
    },
    "relays": {
      "type": "array",
      "maxItems": 12,
      "items": {
        "type": "string"
      },
      "description": "wss relay addresses used only when the recipient is a Nostr public key."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "recipient": "beispiel",
  "amount_sats": 1
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →