Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Adds context field to event payload


Adds context field to event payload

What’s new

Introduces a context field to the Event object and delivered event payloads. Use the context field to determine which account generated the event (for example, when receiving events from an Organization with multiple accounts). Connect events include both the context and account fields.

Impact

There is no impact to existing webhook integrations. However, you need to use the context field and Stripe-Context header when handling events sent to a Connect webhook endpoint in an organization.

Changes

ParameterChangeResources or endpoints
contextAddedEvent

Upgrade

  1. View your current API version in Workbench.
  2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
  • If you don’t use an SDK, update your API requests to include Stripe-Version: 2025-04-30. basil
  1. Upgrade the API version used for webhook endpoints .
  2. Test your integration against the new version.
  3. If you use Connect, test your Connect integration .
  4. In Workbench, perform the upgrade . You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Last verified 2026-09-24

Is this helpful?