Security
See Webhooks Introduction for setup, signature validation, and retry behavior.Event Types
CUSTOMER.CREATED- A new customer has been createdCUSTOMER.UPDATED- Customer information has been updatedCUSTOMER.DELETED- A customer has been deleted
Sample Payloads
Customer Created
Customer Updated
Customer Deleted
event field will be CUSTOMER.CREATED, CUSTOMER.UPDATED, or CUSTOMER.DELETED depending on the action that triggered the notification.
Delete events carry the same full customer object as create and update events. Afriex reads the record before removing it and sends it in full, so CUSTOMER.DELETED gives you the customer’s last known state. There is no slimmed-down delete payload and no deletedAt field.
Response
Return200 (or another 2xx) after successful validation and processing.