If you're building Lightning payments and want practical, copy/pasteable starting points, I published a small set of guides this week:
- L402 API paywall on Cloudflare Workers: https://maximumsats.com/blog/l402-api-paywall-cloudflare-workers
- Building a Lightning-powered service with NWC: https://maximumsats.com/blog/nwc-lightning-service
- Self-host Alby Hub with Docker: https://maximumsats.com/blog/self-host-alby-hub-docker
- Add Lightning payments to React with Bitcoin Connect: https://maximumsats.com/blog/bitcoin-connect-react-payments
Quick L402 flow (what the guide uses):
# request -> get 402 + invoice in WWW-Authenticate
curl -i https://your-api.example.com/endpoint
# pay invoice, then retry with proof
curl -i \
-H "Authorization: L402 <payment_hash>" \
https://your-api.example.com/endpointIf any of these saved you time, there’s a tip button on each article page (simple-boost).