Skip to main content
square.onOauthAuthorizationRevoked subscribes to oauth.authorization.revoked for the selected seller. It does not require an additional Square OAuth permission.

Example

automations/square-on-oauth-authorization-revoked.automation.ts

Event

Notifies an application whenever a seller revokes all access tokens and refresh tokens granted to the application. The signal resolves to the official Square.OauthAuthorizationRevokedEvent payload with type narrowed to oauth.authorization.revoked.