protected function sendRequest($method, $endpoint, array $params = []) { $request = $this->request($method, $endpoint, $params); return $this->lastResponse = $this->client->sendRequest($request); }