Discussions

Ask a Question
Back to All

How to poll a Lightning Invoice to find status?

Dear Sir or Madam,

I want to create a lightning network invoice, and poll every 5 seconds to find out when it is paid at the point of sale, I am sending lightinging create Invoice and Get invoice, but then I am not sure what command to use to retrieve the status. I will appreciate your help.
Regards
Juan
Technoprepay.com