src/Client.php
private function requestAPI($method, $url, array $options = [])
    {
        try {
            return $this->sendRequest((string)$method, (string)$url, $options);
        } catch (SessionWasExpiredException $e) {
            return $this->sendRequest((string)$method, (string)$url, $options);
        } catch (ClientException $e) {
            throw new BunqException($e);
        }
    }
private function requestAPI($method, $url, array $options = [])
    {
        try {
            return $this->sendRequest((string)$method, (string)$url, $options);
        } catch (SessionWasExpiredException $e) {
            return $this->sendRequest((string)$method, (string)$url, $options);
        } catch (ClientException $e) {
            throw new BunqException($e);
        }
    }
private function requestAPI ( $ method , $ url , array $ options = [ ] ) { try { return $ this -> sendRequest ( ( string ) $ method , ( string ) $ url , $ options ) ; } catch ( SessionWasExpiredException $ e ) { return $ this -> sendRequest ( ( string ) $ method , ( string ) $ url , $ options ) ; } catch ( ClientException $ e ) { throw new BunqException ( $ e ) ; } }
Handles the API Calling.

@param string $method
@param string $url
@param array  $options

@return array
@throws BunqException
Handles the API Calling .