Accepting Lightning payments without custody: how one API verifies invoices and signs webhooks
A developer describes building a Lightning payment API where customers pay directly to the developer's own Lightning address, so the service never holds their funds. The server only requests invoices, confirms they match the request, and checks proof of payment before notifying the app. The post walks through each verification step using the project's code, along with a bug found and fixed in the settlement logic. It also covers signed webhooks, a free sandbox for testing, and the project's stated limitations. The full write-up and code are published on GitHub.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in