lib/Conekta/Requestor.php
private function buildSegmentParamsUrl($url, $params)
  {
    if(!is_array($params)){
      $url = $url.urlencode($params);
    }

    return $url;
  }
private function buildSegmentParamsUrl($url, $params)
  {
    if(!is_array($params)){
      $url = $url.urlencode($params);
    }

    return $url;
  }
Function buildSegmentParamsUrl

build body request for DELETE  action

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