Skip to Content
Docs
Setup attempts

Setup attempt events

WEBHOOKsetup_attempt.*

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

Events

setup_attempt.succeeded
An individual attempt within a setup session succeeded.
setup_attempt.failed
An individual attempt within a setup session failed.

Each event

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