{"name":"AgentPay Backend","description":"API gateway, usage metering, billing and settlement for machine-to-machine payments on Stellar.","version":"1.0.0","docs":"/docs","openapi":"/api/v1/openapi.json","health":"/health","storage":"in-memory (resets on cold start)","contract":{"network":"testnet","contractId":"CAWQI63RISS2AXF2YSH77RQGUMVMXIAJUIDBW4DTVSTYU2L5TLCAMXNU","explorer":"https://stellar.expert/explorer/testnet/contract/CAWQI63RISS2AXF2YSH77RQGUMVMXIAJUIDBW4DTVSTYU2L5TLCAMXNU"},"endpoints":{"GET /":"This endpoint index","GET /docs":"Interactive API documentation (Swagger UI)","GET /health":"Shallow liveness check","GET /api/v1/health/deep":"Deep health with subsystem checks","GET /api/v1/health/ready":"Readiness probe","GET /api/v1/openapi.json":"OpenAPI 3 document","GET /api/v1/version":"Build version","GET /api/v1/stats":"Aggregate usage and billing stats","GET /api/v1/metrics":"Prometheus metrics","GET /api/v1/config":"Runtime configuration","GET /api/v1/services":"List registered services","POST /api/v1/services":"Register a paid service","POST /api/v1/usage":"Record metered usage for an agent","GET /api/v1/usage/{agent}/{serviceId}":"Read an agent's usage for a service","GET /api/v1/events":"Audit event log","GET /api/v1/webhooks":"List webhook subscriptions"}}