lib/Conekta/Requestor.php
private function buildQueryParamsUrl($url, $params)
  {
    if(!is_null($params)){
      $params = http_build_query($params);
      $url = $url.'?'.$params;
    }

    return $url;
  }
private function buildQueryParamsUrl($url, $params)
  {
    if(!is_null($params)){
      $params = http_build_query($params);
      $url = $url.'?'.$params;
    }

    return $url;
  }
Function buildQueryParamsUrl

build body request into url

@param url (string) endpoint to concatenate
@param params (array) contains body request
@return (string)