{
  "openapi": "3.0.0",
  "paths": {
    "/health": {
      "get": {
        "operationId": "HealthController_check",
        "parameters": [],
        "responses": {
          "200": {
            "description": ""
          }
        },
        "summary": "Health check for load balancer and Kubernetes liveness probe",
        "tags": [
          "health"
        ]
      }
    },
    "/transactions/search": {
      "post": {
        "operationId": "TransactionsController_search",
        "parameters": [
          {
            "name": "credit",
            "required": true,
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchBodyDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": ""
          }
        },
        "summary": "Search transactions (POST)",
        "tags": [
          "transactions"
        ]
      }
    }
  },
  "info": {
    "title": "Migo Payments API",
    "description": "REST API gateway for the Migo Payments platform. Exposes transaction processing, client management, and payment orchestration capabilities.",
    "version": "1.0",
    "contact": {}
  },
  "tags": [],
  "servers": [
    {
      "url": "https://api.migopayments.com",
      "description": "Production"
    },
    {
      "url": "https://api-qa.migopayments.com",
      "description": "QA"
    },
    {
      "url": "http://localhost:3000",
      "description": "Local"
    }
  ],
  "components": {
    "securitySchemes": {
      "access-token": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http",
        "description": "JWT access token obtained from the auth endpoint"
      }
    },
    "schemas": {
      "SearchBodyDto": {
        "type": "object",
        "properties": {}
      }
    }
  }
}