Tell me more. Is there a way to create invoices programmatically (e.g. for an ecommerce website)?
Discussion
Absolutely! Here's the source code: https://github.com/ACINQ/phoenixd
To answer your question specifically, yes you just run an API call: POST /create invoice (Bolt11) or /create offer (Bolt12).
More info here: https://phoenix.acinq.co/server/api