Closed meeDamian closed 6 years ago
Example response:
GET /invoice
{
"hash": "ca757a45577f8b8ff144615d00a34e54652b6e3aabe295c3185b8cab36573265",
"invoice": "lnbc1pd7zfp5pp5ef6h532h079clu2yv9wspg6w23jjkm36403ftscctwx2kdjhxfjsdqqcqzysxqz958jn5my53xv2hw5r6y8yh9y5g9h46dvazm967m5wjc3y3k7vrp5tj5zx7fptg7nrzygddpd2065asm7g8cvtxe78qsczqyjutky0upacqngk5wy"
}
GET /status/ca757a45577f8b8ff144615d00a34e54652b6e3aabe295c3185b8cab36573265
# will wait until status changes to either:
paid
# or
expired
https://github.com/lncm/invoicer-ui
Just needs to be hooked up to real endpoints, but good to go otherwise...
Temporarily exposed and available @ :
http://meedamian.ddns.net:2048/
http://meedamian.ddns.net:2048/invoice
http://meedamian.ddns.net:2048/status/<hash>
Done & temporarily deployed to http://meedamian.ddns.net:2048 . Final deployment will be posted to lncm.io
Change this file to:
GET /invoice
upon website load.hash
from JSON returned above.invoice
from the JSON above, then prepend it withlightning:
, and finally render and display QR code for itGET /status/<hash>
and wait for invoice status change (<hash> == .hash
)LMK if you have any further questions.