code: private String readMangopayVersion() {
          try {
              Properties prop = new Properties();
              InputStream input = getClass().getResourceAsStream("mangopay.properties");
              prop.load(input);
              return prop.getProperty("version");
          } catch (IOException ex) {
              Logger.getLogger(Configuration.class.getName()).log(Level.SEVERE, null, ex);
          }
          return "unknown";
      }
docs: Read Mangopay version from mangopay properties
  @return String Mangopay Version