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
| Parameter | type | Required |
|---|---|---|
| id | string | ✅ |
Body Parameters
| Parameter | type | Required |
|---|---|---|
| satMinSendable | int32 | |
| satMaxSendable | int32 | |
| identifier | string | |
| tld | string | |
| image | string | |
| description | string |
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
}