{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-openapi.yaml","sidebar":"sidebar-sidebars.yaml"},"props":{"definitionId":"openapi.yaml","dynamicMarkdocComponents":[],"baseSlug":"/openapi","seo":{"title":"Amabills - Whoosh Core API"},"itemId":"","disableAutoScroll":true,"metadata":{"type":"openapi","title":"Amabills - Whoosh Core API","description":"The Whoosh Innovations Pty. Core API provides electricity vending and traffic\nfine services for South African municipalities.\n\n\n## Authentication\n\nAll requests must include a valid API key in the `X-API-KEY` request header.\nIf the header is missing or the key is invalid, the service returns HTTP **401 Unauthorized**.\n\n> **Note:** The API key for the test environment is different from the production API key.\n\n\n## Environments\n\n| Environment | Base URL  |\n|---|---|\n| Testing | `https://api-test.amabills.co.za/api` |\n| Production | `https://api.amabills.co.za/api` |\n\n\n## Success flag\n\nTraffic Fine endpoints return `success` as an **integer** (`1` = success, `0` = error).\nElectricity endpoints return `success` as a **boolean**.\nWhoosh Reconciliation endpoints return `success` as a **boolean**.\n"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"docs.amabills.co.za","port":4000,"ipAddress":"216.73.216.245"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/openapi","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}