code: protected static String reportURL(String type) throws EasyPostException {
      try {
        String urlType = URLEncoder.encode(type, "UTF-8").toLowerCase();
        return String.format("%s/reports/%s/", EasyPost.API_BASE, urlType);
      } catch (java.io.UnsupportedEncodingException e) {
        throw new EasyPostException("Undetermined Report Type");
      }
    }
docs: generate report URL pattern