The #Satsgate integration is basically 2 calls:
1) /v1/paywall/challenge → return 402 with invoice+macaroon
2) /v1/paywall/verify → verify preimage + spend 1 credit
We ship a working FastAPI reference + payer scripts (Node + Python) so you can test end-to-end fast. Repo:
#lightning #l402 #developers #python #fastapi #ai
#agents
GitHub
GitHub - Mike-io-hash/satsgate: satsgate is a hosted (and self‑hostable) FastAPI service that lets you put a Lightning L402 (HTTP 402) paywall in front of any endpoint (APIs, agent tools, web backends).
satsgate is a hosted (and self‑hostable) FastAPI service that lets you put a Lightning L402 (HTTP 402) paywall in front of any endpoint (APIs, ag...
