Tierion / boltwall

Bitcoin Lightning paywall and authentication using LSATs. Built with LND, Nodejs, and Typescript.
https://tierion.github.io/boltwall/
113 stars 16 forks source link

invoice: update GET /invoice API to not require LSAT auth #19

Closed bucko13 closed 4 years ago

bucko13 commented 4 years ago

This is a change to the API to enable 3rd parties that know an invoice id to check on its status. Useful for applications such as split payments where the authorizing server wants to confirm that an invoice exists to pay which will return a preimage that can be used to redeem a hodl invoice.

Also fixes bug where payment hash was not being passed to create a hodl invoice

Changes include: