---
title: "$viva->webhooks->isKnownEvent()"
method: GET
path: "/Webhooks/isKnownEvent"
tags: ["Webhooks"]
---

# $viva->webhooks->isKnownEvent()

`GET /Webhooks/isKnownEvent`

Vérifie si un ID de type d'événement est reconnu par le SDK.

```php
$viva->webhooks->isKnownEvent(1796); // true (transaction.payment.created)
$viva->webhooks->isKnownEvent(9999); // false
```

## Query parameters

- `eventTypeId` integer, required

## Response `200`

`bool`

- boolean

---

[API](https://skmtc.net/qrcommunication/apis/viva-wallet-merchant-sdk-re-fe-rence-php.md) · [All operations](https://skmtc.net/qrcommunication/apis/viva-wallet-merchant-sdk-re-fe-rence-php/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qrcommunication/viva-wallet-merchant-sdk-re-fe-rence-php/versions/bcafd06ce584/schema)
