Get Service Status

GET/api/v1/status

Returns service and organisation readiness. Provide x-api-key for organisation-specific device initialization status.

Requires x-api-key

http://localhost:8100/api/v1/status

No Request Body

This is a GET endpoint with no request body or parameters required.

Response

{
  "success": true,
  "data": {
    "ready": false,
    "environment": "sandbox",
    "kraEndpoint": "https://etims-api-sbx.kra.go.ke/etims-api",
    "taxpayerPin": "A000000000Z",
    "branchId": "00",
    "hasCredentials": false,
    "timestamp": "2024-01-15T10:30:00.000Z"
  }
}
curl http://localhost:8100/api/v1/status