Finance
Stripe Webhook Event JSON Example
A real-world JSON example of a Stripe webhook event payload — the event envelope wrapping a payment_intent.succeeded object. Copy-ready for building and testing payment webhook handlers.
Field Reference
idrequiredstringUnique identifier for this specific event delivery, with evt_ prefix — use to deduplicate retried deliveriestyperequiredstringDot-namespaced event type, e.g. payment_intent.succeeded, charge.refunded, customer.subscription.deletedlivemoderequiredbooleanfalse for test-mode events, true for real production payments — always branch on this in handlersdata.objectrequiredobjectThe actual Stripe resource (a PaymentIntent, Charge, Subscription, etc.) that triggered the event, shaped exactly like the corresponding API resourcerequest.idempotency_keyoptionalstring | nullThe idempotency key of the API request that triggered this event, if any — null for events not caused by a direct API callpending_webhooksrequirednumberCount of webhook endpoints still queued to receive this eventVariants
charge.refundedA different event type on the same envelope shape — note only data.object and type change.
Common Use Cases
- →Building and testing a /webhooks/stripe endpoint before going live
- →Writing idempotent webhook handlers that dedupe on event id
- →Reconciling internal order status with Stripe payment_intent.succeeded / .payment_failed events
stripewebhookpaymentseventpayment_intent
Validate or format this JSON
One click loads this exact example into the tool — no copy-paste needed. Format it, validate it, explore the tree, or generate TypeScript types instantly.
Frequently Asked Questions
Related JSON Examples
E-commerceE-commerce OrderFull e-commerce order JSON with line items, pricing, shipping, and payment status.API DesignError ResponseREST API error JSON with status code, machine-readable error code, and validation details.API DesignREST API ResponseGeneric REST API response wrapper with data payload, status, and pagination meta.