---
title: "$viva->dataServices->listSubscriptions()"
method: GET
path: "/DataServices/listSubscriptions"
tags: ["DataServices"]
---

# $viva->dataServices->listSubscriptions()

`GET /DataServices/listSubscriptions`

Liste toutes les souscriptions webhook actives.

```php
$subs = $viva->dataServices->listSubscriptions();

foreach ($subs as $sub) {
    echo $sub['subscriptionId'] . ' → ' . $sub['url'] . "\n";
}
```

## Response `200`

Liste des souscriptions

- DataServicesSubscription[]
  - `subscriptionId` string, uuid — UUID de la souscription
  - `url` string, uri — URL du webhook
  - `eventType` string — Type d'événement

---

[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)
