public function refund($amountInCents = null) { $uri = $this->uri(); if (!is_null($amountInCents)) { $uri .= '?amount_in_cents=' . strval(intval($amountInCents)); } $this->_save(Recurly_Client::DELETE, $uri); }