{
"event": "customers.delete",
"time": "2025-01-01T20:00:00.000Z",
"data": {
"customerId": "6b7c8d9e-0f1a-2b3c-4d5e-6f7a8b9c0d1e",
"creditorId": "d4c3b2a1-0f9e-8d7c-6b5a-4e3d2c1b0a9f",
"referenceId": "CUST-5001"
}
}Webhooks
Customer deleted
Notifies when a customer has been deleted.
WEBHOOK
customers.delete
{
"event": "customers.delete",
"time": "2025-01-01T20:00:00.000Z",
"data": {
"customerId": "6b7c8d9e-0f1a-2b3c-4d5e-6f7a8b9c0d1e",
"creditorId": "d4c3b2a1-0f9e-8d7c-6b5a-4e3d2c1b0a9f",
"referenceId": "CUST-5001"
}
}Headers
Sent with every delivery so the receiver can verify the request really comes from Debbie. The token is issued when the webhook is created — compare it with the stored value and reject deliveries that do not match.
Body
application/json
Webhook payload
Event "customers.delete"
Example:
"customers.delete"
Event dispatch time
Example:
"2025-01-01T20:00:00.000Z"
Identifies the deleted customer. Each of its users is deleted as well and sends its own users-on-customers.delete.
Show child attributes
Show child attributes
Example:
{
"customerId": "6b7c8d9e-0f1a-2b3c-4d5e-6f7a8b9c0d1e",
"creditorId": "d4c3b2a1-0f9e-8d7c-6b5a-4e3d2c1b0a9f",
"referenceId": "CUST-5001"
}