API Reference
Lightning Address
Update Lnurl [PUT]

Update Ln-Url

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


❗️

Unique Identifier An identifier can only be used if it is unique to a company.

Path Parameters

ParametertypeRequired
idstring

Body Parameters

ParametertypeRequired
satMinSendableint32
satMaxSendableint32
identifierstring
tldstring
imagestring
descriptionstring

Request

lightning address / Get lnurl
curl --request PUT \
     --url 'https://sandboxapi.bitnob.co/api/v1/lnurl​/id' \
     --header 'Authorization: Bearer API-KEY' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "satMinSendable": 0,
  "satMaxSendable": 0,
  "identifier": "string",
  "tld": "string",
  "image": "string",
  "description": "string"
}
'

Responses

🟢 200 - Result example
{
"identifier": "satoshi",
"tld": "bitcoin.org",
"identifierType": "username",
"customerEmail": "satoshi@bitcoin.org",
"satMinSendable": 1,
"satMaxSendable": 1000000
}
Last updated on