---
title: "$viva->invalidateToken()"
method: POST
path: "/VivaClient/invalidateToken"
tags: ["VivaClient"]
---

# $viva->invalidateToken()

`POST /VivaClient/invalidateToken`

Force la ré-authentification au prochain appel API. Utile si le token a été révoqué.

```php
$viva->invalidateToken();
// Le prochain appel API demandera un nouveau token OAuth2
```

## Response `200`

`void` — Le token est invalidé

---

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