Payment attempts
Payment attempt events
WEBHOOK
payment_attempt.*Pay.com sends these events to your webhook endpoints when a payment attempt changes. Each one carries the payment attempt as it was at that moment. To add an endpoint and check signatures, see Webhooks.
Events
payment_attempt.succeededAn individual attempt within a payment session succeeded.
payment_attempt.failedAn individual attempt within a payment session failed.
Each event
idstringThe event’s id, starting
evt_.resourcestringAlways
event.typestringOne of the events above, such as
payment_attempt.succeeded.createdstringWhen it happened, in ISO 8601 (UTC).
dataobjectThe payment attempt as it was at that moment, with the attributes Retrieve a payment attempt returns.
Was this page helpful?