The first version of a webhook is always the same four lines:

await fetch(customer.webhookUrl, {

method: 'POST',

headers: { 'content-type': 'application/json' },

body: JSON.stringify(event),