TECHNOLOGY

Stripe snapshot webhooks: endpoint version and request version are separate

In this article
THE QUICK TAKE

Changing an outgoing API request version does not retroactively rewrite an already created snapshot event or its receiving contract.

One integration can contain several version boundaries

Stripe documents an API version for outgoing requests and an API version associated with webhook delivery. A request header can override the default for that request, while a snapshot webhook destination has its own configured version behavior.

This is useful as an example for developers building AI infrastructure integrations: a stable URL is not the whole contract. The producer, receiver and SDK may interpret the same operation through different version choices. Keep those choices explicit rather than assuming one account-wide setting describes every path.

Snapshot and thin events need separate interpretation

The current webhook guide distinguishes thin and snapshot payload formats. Its snapshot destination flow includes selection of an API version. The dedicated webhook-versioning guide is specifically scoped to snapshot events.

Do not apply a snapshot-body migration procedure indiscriminately to every event format. A proposed integration inventory records the destination’s event format before comparing fields. Similar-looking delivery mechanisms can carry different assumptions about whether the payload contains a versioned object snapshot or requires further retrieval.

Request overrides do not rewrite historical events

Stripe explains that changing the version of an individual request does not change the versioned structure of an existing event. Retrieving an older event with a newer API version does not retroactively transform that event into the newer shape.

A replay consumer therefore needs to understand the event artifact it actually receives. Its current SDK or outgoing-request configuration is not sufficient evidence of the historical event schema. Preserve event identity and its version information when investigating a deserialization mismatch.

Typed SDKs can impose alignment requirements

The snapshot upgrade guide states that certain statically typed SDKs require their API version to match the webhook endpoint version for deserialization. An SDK upgrade can consequently affect event handling even if the endpoint URL and application business rules are unchanged.

A proposed migration compares supported event structures and destination configuration before moving traffic. It does not treat a successful unrelated API request as proof that incoming events decode correctly. Producer and consumer paths need their own compatibility evidence.

Migration is an interpretation change, not an event rewrite

The guide describes reviewing version changes and handling endpoint upgrades. A deployment plan still needs to avoid duplicate application effects when old and new receivers coexist. Version selection alone does not provide deduplication or transactional processing.

This article illustrates version boundaries using public documentation. The general lesson is to record event format, destination version and SDK expectations separately, so an integration can explain what changed without assuming that all retained events acquire the newest schema after a client update.

Primary references

Stripe API versioning.

Stripe webhook event formats.

Stripe snapshot webhook upgrades.

Related explanations: Contract migration; Consumer contract fixtures.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles