- Register LNURLPoS devices to receive payments in your LNbits wallet.
+ Register LNURLDevice devices to receive payments in your LNbits wallet.
Build your own here
- https://github.com/arcbtc/LNURLPoShttps://github.com/arcbtc/bitcoinpos
Created by, Ben Arc
POST /lnurlpos/api/v1/lnurlpos
/lnurldevice/api/v1/lnurlpos
Headers
{"X-Api-Key": <admin_key>}
@@ -36,10 +36,10 @@
Returns 200 OK (application/json)
- [<lnurlpos_object>, ...]
+ [<lnurldevice_object>, ...]
Curl example
curl -X POST {{ request.base_url }}api/v1/lnurlpos -d '{"title":
+ >curl -X POST {{ request.base_url }}api/v1/lnurldevice -d '{"title":
<string>, "message":<string>, "currency":
<integer>}' -H "Content-type: application/json" -H "X-Api-Key:
{{user.wallets[0].adminkey }}"
@@ -51,13 +51,13 @@
group="api"
dense
expand-separator
- label="Update lnurlpos"
+ label="Update lnurldevice"
>
PUT
- /lnurlpos/api/v1/lnurlpos/<lnurlpos_id>
Headers
{"X-Api-Key": <admin_key>}
@@ -67,25 +67,30 @@
Returns 200 OK (application/json)
- [<lnurlpos_object>, ...]
+ [<lnurldevice_object>, ...]
Curl example
curl -X POST {{ request.base_url
- }}api/v1/lnurlpos/<lnurlpos_id> -d ''{"title": <string>,
- "message":<string>, "currency": <integer>} -H
- "Content-type: application/json" -H "X-Api-Key:
+ }}api/v1/lnurlpos/<lnurldevice_id> -d ''{"title":
+ <string>, "message":<string>, "currency":
+ <integer>} -H "Content-type: application/json" -H "X-Api-Key:
{{user.wallets[0].adminkey }}"
GET
- /lnurlpos/api/v1/lnurlpos/<lnurlpos_id>
Headers
{"X-Api-Key": <invoice_key>}
@@ -95,21 +100,27 @@
Returns 200 OK (application/json)
- [<lnurlpos_object>, ...]
+ [<lnurldevice_object>, ...]
Curl example
curl -X GET {{ request.base_url
- }}api/v1/lnurlpos/<lnurlpos_id> -H "X-Api-Key: {{
+ }}api/v1/lnurlpos/<lnurldevice_id> -H "X-Api-Key: {{
user.wallets[0].inkey }}"
GET /lnurlpos/api/v1/lnurlposs
GET
+ /lnurldevice/api/v1/lnurlpossHeaders
{"X-Api-Key": <invoice_key>}
@@ -119,11 +130,11 @@
Returns 200 OK (application/json)
- [<lnurlpos_object>, ...]
+ [<lnurldevice_object>, ...]
Curl example
curl -X GET {{ request.base_url }}api/v1/lnurlposs -H "X-Api-Key:
- {{ user.wallets[0].inkey }}"
+ >curl -X GET {{ request.base_url }}api/v1/lnurldevices -H
+ "X-Api-Key: {{ user.wallets[0].inkey }}"
DELETE
- /lnurlpos/api/v1/lnurlpos/<lnurlpos_id>
Headers
{"X-Api-Key": <admin_key>}
@@ -148,7 +159,7 @@
Curl example
curl -X DELETE {{ request.base_url
- }}api/v1/lnurlpos/<lnurlpos_id> -H "X-Api-Key: {{
+ }}api/v1/lnurlpos/<lnurldevice_id> -H "X-Api-Key: {{
user.wallets[0].adminkey }}"