Compare events
compare_eventsShows field-by-field and header differences between two captured webhooks, defaulting to the previous same-type event, to reveal what changed after a failure or payload update.
Instructions
Shows what differs between two captured webhooks, field by field (JSON paths such as data.items[0].price), plus header differences. Use it for "this one worked and that one failed, what changed?" or to spot a provider changing its payload. Leave out b to compare with the previous event of the same type on the same endpoint. Changes always read from the older event to the newer one. Key order, formatting and per-delivery headers (signatures, request ids, dates) never count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First event. Which event: its number (12 or "#12", from list_events or the dashboard), "latest", "latest <event type>" such as "latest invoice.paid", or the provider's own event id such as evt_1Qx... | |
| b | No | Second event, same forms as `a`. Default: the previous event of the same type on the same endpoint | |
| include_headers | No | Also compare headers |