src/Paystack.php
public function enableSubscription()
    {
        $data = [
            "code" => request()->code,
            "token" => request()->token,
        ];

        $this->setRequestOptions();
        return $this->setHttpResponse('/subscription/enable', 'POST', $data)->getResponse();
    }
public function enableSubscription()
    {
        $data = [
            "code" => request()->code,
            "token" => request()->token,
        ];

        $this->setRequestOptions();
        return $this->setHttpResponse('/subscription/enable', 'POST', $data)->getResponse();
    }
public function enableSubscription ( ) { $ data = [ "code" => request ( ) -> code , "token" => request ( ) -> token , ] ; $ this -> setRequestOptions ( ) ; return $ this -> setHttpResponse ( '/subscription/enable' , 'POST' , $ data ) -> getResponse ( ) ; }
Enable a subscription using the subscription code and token
@return array
Enable a subscription using the subscription code and token