Phoenixd on your VPS
Do any of you run BTCPay on a VPS? Any recommendations or things to look out for? #asknostr
nostr:nevent1qqsz4hj72zc90dgrcw536usm55f25xr650endye8jfvzkkf623ewsjc63596r
Discussion
Tell me more. Is there a way to create invoices programmatically (e.g. for an ecommerce website)?
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