Webhook Events

Item Created

A notification sent when an item is created.

Required scope: business/products:read

postWebhookitem.created

Headers

webhook-signaturestring required

An HMAC signature of the payload used to verify the webhook came from Yoco.

Payload

business_idstring required
item_idstring required
event_typestring required

Example payload

{
  "business_id": "f3f777bb-ca3c-4638-bc79-8fcf0fd0f8f1",
  "event_type": "item.created",
  "item_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.