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
| Parameter | Change | Resources or endpoints |
|---|---|---|
| context | Added | Event |
Upgrade
- View your current API version in Workbench.
- 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
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
- In Workbench, perform the upgrade . You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.
