{ "_comment": "Example JSON payload for a webhook. This payload represents a common event: an order being placed.", "event_type": "order.created", "_comment": "Type of event that triggered the webhook.", "event_id": "evt_1234567890abcdef", "_comment": "Unique identifier for this specific event. Used for idempotency.", "timestamp": 1678886400, "_comment": "Unix timestamp of when the event occurred.", "data": { "_comment": "The actual data associated with the event. Structure varies depending on event_type.", "order_id": "ord_abcdef1234567890", "customer_id": "cust_fedcba0987654321", "order_total": 99.99, "currency": "USD", "items": [ { "item_id": "item_11223344", "quantity": 1, "price": 49.99, "name": "Awesome Widget" }, { "item_id": "item_55667788", "quantity": 1, "price": 50.00, "name": "Deluxe Gadget" } ], "shipping_address": { "name": "John Doe", "address_line1": "123 Main St", "address_line2": null, "city": "Anytown", "state": "CA", "zip_code": "91234", "country": "US" }, "billing_address": { "name": "John Doe", "address_line1": "123 Main St", "address_line2": null, "city": "Anytown", "state": "CA", "zip_code": "91234", "country": "US" } }, "metadata": { "_comment": "Optional metadata associated with the event. Can be used to pass additional context.", "source": "web", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" } }