Enterprise-grade API protection and payments for the Agent Economy
SatGate™ Gateway Documentation
Focus: L402 payments only
Target: Developers, hobbyists
Status: Community maintained, limited updates
Lightning: LND only
Focus: Protection + Payments ("Protect & Pay")
Target: Enterprise, AI/Agent platforms
Status: Active development
Lightning: Phoenixd, LND, CLN, Alby, LNbits, Strike
| Feature | Aperture | SatGate Gateway |
|---|---|---|
| L402 Lightning Payments | ✓ | ✓ |
| Capability Tokens (no payment) | ✗ | ✓ |
| Chargeback/Showback Mode | ✗ | ✓ |
| Fiat402 (JWT receipts) | ✗ | ✓ |
| Multi-tenant Isolation | ✗ | ✓ |
| Token Governance (ban/lineage) | ✗ | ✓ |
| Admin Dashboard UI | ✗ | ✓ |
| SCIM 2.0 Provisioning | ✗ | ✓ |
| GitOps Signed Configs | ✗ | ✓ |
| Audit Logging (WORM) | ✗ | ✓ |
| Budget Management | ✗ | ✓ |
| Rate Limiting | Basic | ✓ Per-route, Redis HA |
| mTLS to Upstreams | ✗ | ✓ |
| Circuit Breaker | ✗ | ✓ |
| Prometheus Metrics | Basic | ✓ Full observability |
| Helm Chart | Community | ✓ Official |
| Client SDKs | Go only | ✓ Go, Node.js, Python |
| Supply Chain Security | ✗ | ✓ Cosign, SBOM, attestations |
┌─────────────────────────────────┐ │ APERTURE │ ├─────────────────────────────────┤ │ ┌──────────────┐ │ │ │ L402 Proxy │ │ │ │ (pay only) │ │ │ └──────────────┘ │ │ │ │ │ ┌──────┴──────┐ │ │ │ LND only │ │ │ │ (coupled) │ │ │ └─────────────┘ │ └─────────────────────────────────┘
┌─────────────────────────────────┐ │ SATGATE GATEWAY │ ├─────────────────────────────────┤ │ Protection │ Payments │ Gov │ │ (Capability)│(L402/Fiat)│(Audit)│ ├─────────────────────────────────┤ │ Pluggable Lightning Providers │ │ Phoenixd│LND│CLN│Alby│Strike │ ├─────────────────────────────────┤ │ Enterprise Infrastructure │ │ Postgres│Redis│Prometheus│SCIM │ └─────────────────────────────────┘
| Use Case | Recommended |
|---|---|
| Simple hobby project with LND | Either |
| Quick L402 demo | Either |
| Enterprise API monetization | SatGate Gateway |
| Multi-tenant SaaS platform | SatGate Gateway |
| AI Agent authentication | SatGate Gateway |
| FinOps / chargeback tracking | SatGate Gateway |
| Compliance requirements (SOC2, audit) | SatGate Gateway |
| Production deployment with SLAs | SatGate Gateway |
services:
- name: myapi
price: 100
routes:
- name: myapi
match:
pathPrefix: /
upstream: http://myapi:8080
policy:
kind: l402
priceSats: 100
routes:
# Free tier - authenticated but no payment
- name: free-api
match: { pathPrefix: /api/v1/free }
upstream: http://api:8080
policy:
kind: capability
scopes: [api:read]
# Internal chargeback - metered for FinOps
- name: internal-api
match: { pathPrefix: /api/v1/internal }
upstream: http://api:8080
policy:
kind: pay
pay:
mode: chargeback
price: 10
unit: credits
costCenterHeader: X-Cost-Center
enforceBudget: true
# Premium - pay with Lightning
- name: premium-api
match: { pathPrefix: /api/v1/premium }
upstream: http://api:8080
policy:
kind: pay
pay:
mode: l402
price: 100
unit: sats