Customers
Customer events
WEBHOOK
customer.*Pay.com sends these events to your webhook endpoints when a customer changes. Each one carries the customer as it was at that moment. To add an endpoint and check signatures, see Webhooks.
Events
customer.createdA new customer was created.
customer.updatedA customer's details were updated.
customer.deletedThe customer was deleted.
customer.default_source.changedA customer's default payment method changed.
Each event
idstringThe event’s id, starting
evt_.resourcestringAlways
event.typestringOne of the events above, such as
customer.created.createdstringWhen it happened, in ISO 8601 (UTC).
dataobjectThe customer as it was at that moment, with the attributes Retrieve a customer returns.
Was this page helpful?