API Reference
Lightning Address
Get by Identifier [GET]

Get by Identifier

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

Get lnurl by identifier


Body Parameters

ParametertypeRequired
usernamestring

Request

lightning address/ Create LN-Withdrawal
curl --request GET \
     --url https://sandboxapi.bitnob.co/api/v1/lnurl/fetchlnurl/username \
     --header 'Authorization: Bearer API-KEY' \
     --header 'accept: application/json'
'

Responses

🟢 200 - Result example
{
"status": true,
"message": "lnurl successfully fetched",
"data": {
  "id": "bc8e077c-5e43-4804-9497-21a0281a9d95",
  "createdAt": "2021-11-20T08:49:07.333Z",
  "updatedAt": "2021-11-20T08:49:07.333Z",
  "tld": "bitnob.com",
  "identifier": "satoshi",
  "identifierType": null,
  "lnUrl": "lnurl1dp68gurn8ghj7et2v4exztnfduhjuam9d3kz66mwdamkutmvde6hymrs9ajkgerexsvtxxe0",
  "lnUrlQR": "https://chart.googleapis.com/chart?chs=500x500&cht=qr&chl=lnurl1dp68gurn8ghj7et2v4exztnfduhjuam9d3kz66mwdamkutmvde6hymrs9ajkgerexsvtxxe0",
  "lnUrlTag": "payRequest",
  "description": "pay me well",
  "image": null,
  "satMinSendable": "1",
  "satMaxSendable": "1000000",
  "satMinWithdrawable": "0",
  "satMaxWithdrawable": "0"
}
}
 
Last updated on