_save($opts); } /** * @return Invoice The paid invoice. */ public function pay($opts = null) { $url = $this->instanceUrl() . '/pay'; list($response, $opts) = $this->_request('post', $url, null, $opts); $this->refreshFrom($response, $opts); return $this; } }