src/Paystack.php
private function setRequestOptions()
    {
        $authBearer = 'Bearer '. $this->secretKey;

        $this->client = new Client(
            [
                'base_uri' => $this->baseUrl,
                'headers' => [
                    'Authorization' => $authBearer,
                    'Content-Type'  => 'application/json',
                    'Accept'        => 'application/json'
                ]
            ]
        );
    }
private function setRequestOptions()
    {
        $authBearer = 'Bearer '. $this->secretKey;

        $this->client = new Client(
            [
                'base_uri' => $this->baseUrl,
                'headers' => [
                    'Authorization' => $authBearer,
                    'Content-Type'  => 'application/json',
                    'Accept'        => 'application/json'
                ]
            ]
        );
    }
private function setRequestOptions ( ) { $ authBearer = 'Bearer ' . $ this -> secretKey ; $ this -> client = new Client ( [ 'base_uri' => $ this -> baseUrl , 'headers' => [ 'Authorization' => $ authBearer , 'Content-Type' => 'application/json' , 'Accept' => 'application/json' ] ] ) ; }
Set options for making the Client request
Set options for making the Client request