/** * @return array * @throws \Exception */ public function listWebhooks() { Validations::validateGateway($this->client); $response = Rest::get($this->client->getUri() . "webhooks/stores/", $this->client->getFullAuth(), $this->headers); $obj = Factory::listWebhooks($response); return $obj; }