{
  "openapi": "3.1.0",
  "info": {
    "title": "Payment API",
    "version": "1.0.0"
  },
  "paths": {
    "/payments": {
      "post": {
        "operationId": "authorisePayment",
        "responses": {
          "200": {
            "description": "Payment authorised",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "authorised"
                  ],
                  "properties": {
                    "authorised": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}