Back to home

Webhook Payload Examples

Use real-world webhook payload examples to design parsers, validation, and replay workflows.

Last updated: 2026-06-24

Webhook payload examples help you design your parser, deduplication logic, signature checks, and downstream business flow before you go live.

Common shapes

Stripe

{
  "id": "evt_123",
  "type": "payment_intent.succeeded",
  "data": { "object": { "amount": 1999 } }
}

GitHub

{ "ref": "refs/heads/main", "repository": { "full_name": "demo/repo" } }

Shopify

{ "id": 1001, "email": "buyer@example.com", "total_price": "29.00" }

Common mistakes

  • Assuming every provider uses the same event envelope
  • Ignoring nested IDs needed for idempotency
  • Storing example payloads with real secrets

FAQ

Should I build handlers from docs-only payloads?

Use docs examples to start, but always validate with real captured events.

Why keep examples around?

They are useful for tests, regression checks, and AI-assisted code generation.

Capture your own examples in WebhookPilot and turn them into replayable test cases.