{
  "openapi": "3.1.0",
  "info": {
    "title": "Roberto Enterprise Payment API",
    "version": "1.0.0",
    "description": "Hyperswitch-style orchestration for QRIS, Stripe, Midtrans, Xendit, PayPal, webhooks, refunds, and settlement."
  },
  "paths": {
    "/api/health": {
      "get": {
        "summary": "Runtime health",
        "responses": {
          "200": {
            "description": "Healthy"
          }
        }
      }
    },
    "/api/providers": {
      "get": {
        "summary": "Provider registry",
        "responses": {
          "200": {
            "description": "Provider list"
          }
        }
      }
    },
    "/api/payment-intents": {
      "post": {
        "summary": "Create payment intent",
        "responses": {
          "201": {
            "description": "Created"
          }
        }
      }
    },
    "/api/refunds": {
      "get": {
        "summary": "List refunds",
        "responses": {
          "200": {
            "description": "Refund list"
          }
        }
      },
      "post": {
        "summary": "Create refund",
        "responses": {
          "201": {
            "description": "Created"
          }
        }
      }
    },
    "/api/settlements": {
      "get": {
        "summary": "List settlement batches",
        "responses": {
          "200": {
            "description": "Settlement list"
          }
        }
      }
    }
  }
}