protected function APICallWithOptions($requestType, $endpoint, $options,  $params = null)
    {
        $postkey = $this->httpClientVersionCheck();


        $response = $this->getHttpClient()->{$requestType}($this->buildRequestUrl($endpoint, $params), [

            'headers' => $this->getResponseHeaders($this->user->token),
            $postkey =>  $options

        ]);

        $return = json_decode($response->getBody(), true);

        return $return;

    }