I’ve updated my rust Lightning webhook library example code for both BTCPay and LNbits - you literally can set some ENV vars, uncomment some code, and set your desired SQL payment code. Then you just create your invoices with metadata like a pubkey, enable web hooks, and you’re 😎.

GitHub
GitHub - blakejakopovic/lightning_rs_webhook: Rust library for handling BTCPay and LNBits payment and invoice webhooks
Rust library for handling BTCPay and LNBits payment and invoice webhooks - blakejakopovic/lightning_rs_webhook


