Skip to Content
Docs
Payment methods

Payment method events

WEBHOOKpayment_method.*

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

Events

payment_method.created
The payment method was verified and created in the system.
payment_method.failed_authentication
The additional authentication failed and the payment method cannot be used.
payment_method.requires_confirmation
The payment method was authenticated and needs confirmation to complete verification.
payment_method.updated
The payment method was updated.
payment_method.deleted
The payment method was deleted.
payment_method.network_token.provisioned
A network token was provisioned for the payment method.
payment_method.network_token.deleted
A network token for the payment method was deleted.
payment_method.third_party_token.created
A third-party token was created for the payment method.
payment_method.recurring_mandate.created
A recurring mandate was created for the payment method.
payment_method.recurring_mandate.canceled
The payment method’s recurring mandate was canceled.

Each event

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