LNURL

LNURL callback endpoint

Changed on

Returns the callback response for this LN Address (username). Containing an invoice and information on how to behave upon success. See LUDS-06

get/lnurlp/{username}/callback

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

usernamestring required

Query parameters

amountinteger required

Amount in millisatoshis

commentstring nullable

Optional comment for the recipient

Response

Found

disposableboolean nullable

An optional flag to let a wallet know whether to persist the link from step 1, if null should be interpreted as true

prstring required

bech32-serialized Lightning invoice

routesstring[] required

array with payment routes, should be left empty if no routes are to be provided

Example response

{
  "pr": "lnbcrt1m1png24kasp5..."
}

Changes

    • breaking

      added subschema #1 to the response property oneOf list for the response status