src/Request.php
public function account($method, $uri, $parameters = [], $headers = [])
    {
        return $this->send($method, self::ACCOUNT_URL . $uri, $parameters, $headers);
    }
public function account($method, $uri, $parameters = [], $headers = [])
    {
        return $this->send($method, self::ACCOUNT_URL . $uri, $parameters, $headers);
    }
public function account ( $ method , $ uri , $ parameters = [ ] , $ headers = [ ] ) { return $ this -> send ( $ method , self :: ACCOUNT_URL . $ uri , $ parameters , $ headers ) ; }
Make a request to the "account" endpoint.

@param string $method The HTTP method to use.
@param string $uri The URI to request.
@param array $parameters Optional. Query string parameters or HTTP body, depending on $method.
@param array $headers Optional. HTTP headers.

@throws SpotifyWebAPIException
@throws SpotifyWebAPIAuthException

@return array Response data.
- array|object body The response body. Type is controlled by `Request::setReturnType()`.
- array headers Response headers.
- int status HTTP status code.
- string url The requested URL.
Make a request to the account endpoint .