src/Paystack.php
public function exportTransactions()
    {
        $data = [
            "from" => request()->from,
            "to" => request()->to,
            'settled' => request()->settled
        ];

        $this->setRequestOptions();
        return $this->setHttpResponse('/transaction/export', 'GET', $data)->getResponse();
    }
public function exportTransactions()
    {
        $data = [
            "from" => request()->from,
            "to" => request()->to,
            'settled' => request()->settled
        ];

        $this->setRequestOptions();
        return $this->setHttpResponse('/transaction/export', 'GET', $data)->getResponse();
    }
public function exportTransactions ( ) { $ data = [ "from" => request ( ) -> from , "to" => request ( ) -> to , 'settled' => request ( ) -> settled ] ; $ this -> setRequestOptions ( ) ; return $ this -> setHttpResponse ( '/transaction/export' , 'GET' , $ data ) -> getResponse ( ) ; }
Export transactions in .CSV
@return array
Export transactions in . CSV