Skip to Content
Docs
Authentication sessions

Authentication session events

WEBHOOKauthentication_session.*

Pay.com sends these events to your webhook endpoints when an authentication session changes. Each one carries the authentication session as it was at that moment. To add an endpoint and check signatures, see Webhooks.

Events

authentication_session.open
A new authentication session was created.
authentication_session.authenticated
The authentication session succeeded.
authentication_session.failed
The authentication session failed.

Each event

idstring
The event’s id, starting evt_.
resourcestring
Always event.
typestring
One of the events above, such as authentication_session.open.
createdstring
When it happened, in ISO 8601 (UTC).
dataobject
The authentication session as it was at that moment, with the attributes Retrieve an authentication session returns.
Was this page helpful?