API Reference
Lightning Address
Get Lnurl [GET]

Get LnUrl

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

get lnurl by id


Path Parameters

ParametertypeRequired
idstring

Request

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

Responses

🟢 200 - Result example
{
"status": true,
"message": "lnurl successfully fetched",
"data": {
  "id": "86228ea3-b457-416d-a2a8-9eb6c954f013",
  "createdAt": "2022-03-17T20:26:42.359Z",
  "updatedAt": "2022-03-17T20:26:42.359Z",
  "tld": "bitcoin.org",
  "identifier": "preciousz",
  "identifierType": "username",
  "lnUrl": "LNURL1DP68GURN8GHJ7UM5V9NKJMN894SHQ6FWVEKX7AM9WF6X7UPW0PUH5TEWWAJKCMPDDDHX7AMW9ACXKTNYXANXXDEWV5MNYVN9V4NXXWR9XU6NYCEN8QER2TMVDE6HYMRS9AC8YETRD9HH2UM68XR5UF",
  "lnUrlQR": "https://chart.googleapis.com/chart?chs=500x500&cht=qr&chl=LNURL1DP68GURN8GHJ7UM5V9NKJMN894SHQ6FWVEKX7AM9WF6X7UPW0PUH5TEWWAJKCMPDDDHX7AMW9ACXKTNYXANXXDEWV5MNYVN9V4NXXWR9XU6NYCEN8QER2TMVDE6HYMRS9AC8YETRD9HH2UM68XR5UF",
  "lnUrlTag": "payRequest",
  "description": null,
  "image": null,
  "k1": null,
  "satMinSendable": "1",
  "satMaxSendable": "1000000",
  "satMinWithdrawable": "0",
  "satMaxWithdrawable": "0"
}
}
Last updated on