GET/health

Health check

Public health endpoint for uptime monitoring. No authentication required. Returns 200 when healthy, 503 when any dependency is degraded.

Authentication

None — no authentication required.

Returns HTTP 503 with "status": "degraded" if any service probe fails.

Response fields

FieldTypeDescription
statusstringok when all probes pass, degraded otherwise
timestampstringServer UTC timestamp
gateway_driverstring | nullActive gateway driver
payout_driverstringActive payout driver
servicesobjectPer-dependency status (ok | error)

Code examples

bash
curl https://api.watenga.africa/health

Response example

json
{
  "success": true,
  "data": {
    "status": "ok",
    "timestamp": "2026-06-03T12:00:00.000Z",
    "gateway_driver": "eftpay",
    "payout_driver": "nmb",
    "services": {
      "database": "ok",
      "valkey": "ok",
      "minio": "ok",
      "soketi": "ok",
      "ecocash": "ok",
      "innbucks": "ok",
      "onemoney": "ok"
    }
  }
}