code: public static String authorizeUrl(Map<String, Object> params, RequestOptions options)
        throws AuthenticationException, InvalidRequestException {
      final String base = Stripe.getConnectBase();
  
      params.put("client_id", getClientId(params, options));
      if (params.get("response_type") == null) {
        params.put("response_type", "code");
      }
      String query;
      try {
        query = LiveStripeResponseGetter.createQuery(params);
      } catch (UnsupportedEncodingException e) {
        throw new InvalidRequestException("Unable to encode parameters to "
            + ApiResource.CHARSET
            + ". Please contact support@stripe.com for assistance.",
            null, null, null, 0, e);
      }
  
      String url = base + "/oauth/authorize?" + query;
      return url;
    }
docs: Generates a URL to Stripe's OAuth form.
  
  @param params  the parameters to include in the URL.
  @param options the request options.
  @return the URL to Stripe's OAuth form.