You just send the event whenever a payment is received, is your backend not setup for that ?
Discussion
Haha that's optimistic of you 😛 yeah it is possible but a bit more work. We have a fairly simple open source backend github.com/getAlby/nostr-wallet-connect so we would need to hook this up to our event queue
There is a privacy issue with this. You could easily probe the relay by sending lightning payments to an account and subscribing to the replaceable events to see which nostr keys are associated with what account.