Decode Lnurl
https://sandboxapi.bitnob.co/api/v1/lnurl/decodelnurl (opens in a new tab)
Decode an lnurl
Body Parameters
Parameter | type | Required |
---|---|---|
identifier The lnurl scanned or copied | string | ✅ |
Request
lightning address/ Decode lnurl
curl --request POST \
--url https://sandboxapi.bitnob.co/api/v1/lnurl/decodelnurl \
--header 'Authorization: Bearer API-KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"encodedLnUrl": "string"
}
'
Responses
🟢 200 - Result example
{
"status": true,
"message": "lnurl decoded successfully",
"data": {
"image": "",
"identifier": "satoshi@bitcoin.org",
"description": "Send funds to satoshi@bitcoin.org",
"callback": "https://bitcoin.org/.well-known/lnurlp/satoshi",
"commentAllowed": 0,
"satMinSendable": 1,
"satMaxSendable": 1000000
}
}
Last updated on