src/Paystack.php
public function updatePage($page_id)
    {
        $data = [
            "name" => request()->name,
            "description" => request()->description,
            "amount" => request()->amount
        ];

        $this->setRequestOptions();
        return $this->setHttpResponse('/page/'.$page_id, 'PUT', $data)->getResponse();
    }
public function updatePage($page_id)
    {
        $data = [
            "name" => request()->name,
            "description" => request()->description,
            "amount" => request()->amount
        ];

        $this->setRequestOptions();
        return $this->setHttpResponse('/page/'.$page_id, 'PUT', $data)->getResponse();
    }
public function updatePage ( $ page_id ) { $ data = [ "name" => request ( ) -> name , "description" => request ( ) -> description , "amount" => request ( ) -> amount ] ; $ this -> setRequestOptions ( ) ; return $ this -> setHttpResponse ( '/page/' . $ page_id , 'PUT' , $ data ) -> getResponse ( ) ; }
Update the details about a particular page
@param $page_id
@return array
Update the details about a particular page