I’m mocking up a web server in rust that could be used for this. Unsure how to verify payments without holding funds, but otherwise it can manage the requests and handle the pubkey auth. I’ll open source if I get it functional.

nostr:note1q9e3kjuqk8fynx3h2qs65q0dx90w447kd3zue7zwnjfr2fglg9dqpj9wev

Reply to this note

Please Login to reply.

Discussion

Listen for kind 9735 referencing the event, check zap amount. But only way to verify it's not fake is if you compare bolt invoice to the lightning server status for it

Maybe it could expose a webhook a LN server can post to.

I’m building a BTCPay server webhook handler as well.. got stuck, but found how to progress it again earlier today. Basically it can execute any SQL on successful payment.