IThe Nostr client requests the invoice. Do you understand that? It would be a much cleaner and efficient experience to do this client side. I also use different wallets at times. Doing this wallet side would be inconsistent at best, and users will get “failed to retrieve invoice” errors in their clients and not know why there was an issue.
Discussion
My apologies, I should have made myself more clear. I understand the relationship between the client and wallet. Even if you managed to turn on minimum zap amounts I could still copy your LNURL, go to my wallet, and spam you without using a Nostr client. My point is that this is a wallet problem not a client problem.
While you may use different wallets the same can also be true for clients.
Finally, the error would not come from failing to retrieve an invoice but when you sent the zap and the wallet sent back an informative response like “This user has a minimum amount of 20 sats.”
Spamming my LNURL is not a Nostr issue, and LNURL-pay links allow you to set a minimum amount when you run your own server (most people don’t). I’m talking about zaps (NIP-57) which are part of the Nostr protocol. They don’t use LNURL for pulling invoices.