A process to automatically obtain an API key is pretty great - it would need to enable payments.

Sounds like it could be simple… do a handshake, client sends API Key and a ln invoice, invoice prompts user and they can pay… done?

Reply to this note

Please Login to reply.

Discussion

If API key can be replaced with a pubkey + NIP-98, then this approach can work, and provide possible payment options.

The image was a POC for paid services manager built into Damus.

https://gist.github.com/blakejakopovic/fe384b8fd97231ece267bf264eb466ef

Now I’m going to go read about NIP-98!

POC looks super cool