{
  "openapi": "3.0.3",
  "info": {
    "title": "Store POS Terminal Endpoint",
    "description": "Endpoint to store the POS terminal for a customer.",
    "version": "1.0.0"
  },
  "paths": {
    "/mollie/pos/store-terminal/{terminalId}": {
      "post": {
        "tags": [
          "Mollie",
          "POS"
        ],
        "summary": "Store POS Terminal",
        "operationId": "storePosTerminal",
        "parameters": [
          {
            "name": "terminalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The ID of the POS terminal."
          }
        ],
        "responses": {
          "200": {
            "description": "Success response indicating the POS terminal was stored.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "description": "Indicates if the operation was successful."
                    },
                    "customerId": {
                      "type": "string",
                      "description": "The ID of the customer."
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "A list of serialized exceptions, if any."
                    }
                  },
                  "required": ["success", "customerId", "result"]
                },
                "example": {
                  "success": true,
                  "customerId": "customer123",
                  "result": ["Exception1", "Exception2"]
                }
              }
            }
          }
        }
      }
    }
  }
}
