API Reference
Lightning Address
List Lnurls [GET]

List Lnurls

https://sandboxapi.bitnob.co/api/v1/lnurl (opens in a new tab)

Get all lnurls in your account


Request

lightning address/List Lnurls
curl --request GET \
     --url https://sandboxapi.bitnob.co/api/v1/lnurl \
     --header 'Authorization: Bearer API-KEY' \
     --header 'accept: application/json'
'

Responses

🟢 200 - Result example
{
  "status": true,
  "message": "all lnurls successfully fetched",
  "data": {
      "lnUrls": [
          {
              "id": "f2be3fd7-a289-4fd2-a7bb-1cab3ffdd3d0",
              "createdAt": "2021-11-20T09:24:10.111Z",
              "updatedAt": "2021-11-20T09:24:10.111Z",
              "tld": "bitnob.com",
              "identifier": "satoshi",
              "identifierType": "username",
              "lnUrl": "lnurl1dp68gurn8ghj7et2v4exztnfduhjuam9d3kz66mwdamkutmvde6hymrs9ajkgere8432lw",
              "lnUrlQR": "https://chart.googleapis.com/chart?chs=500x500&cht=qr&chl=lnurl1dp68gurn8ghj7et2v4exztnfduhjuam9d3kz66mwdamkutmvde6hymrs9ajkgere8432lw",
              "satMinSendable": "1",
              "satMaxSendable": "1000000"
          },
          {
              "id": "dd4e6534-83d5-4816-bcae-9453511c1117",
              "createdAt": "2021-11-20T09:23:45.412Z",
              "updatedAt": "2021-11-20T09:23:45.412Z",
              "tld": "bitnob.com",
              "identifier": "nakamoto",
              "identifierType": "username",
              "lnUrl": "lnurl1dp68gurn8ghj7et2v4exztnfduhjuam9d3kz66mwdamkutmvde6hymrs9ajkgerex3us8h09gn",
              "lnUrlQR": "https://chart.googleapis.com/chart?chs=500x500&cht=qr&chl=lnurl1dp68gurn8ghj7et2v4exztnfduhjuam9d3kz66mwdamkutmvde6hymrs9ajkgerex3us8h09gn",
              "satMinSendable": "1",
              "satMaxSendable": "1000000"
          },
      ]
}
Last updated on