# Adds Event Destinations v2 API endpoint ## What’s new Adds API support for managing [event destinations](https://docs.stripe.com/event-destinations.md), which let you receive events from Stripe across multiple destination types, including [webhook endpoints](https://docs.stripe.com/webhooks.md) and [Amazon EventBridge](https://docs.stripe.com/event-destinations/eventbridge.md). ## Impact You can now programmatically manage event destinations to subscribe to events. The [Event Destinations API](https://docs.stripe.com/api/v2/event-destinations.md?api-version=2024-10-28.acacia) includes existing [webhook endpoints](https://docs.stripe.com/api/webhook_endpoints.md?api-version=2024-10-28.acacia) and offers new configuration options: - Send events directly to AWS using [Amazon EventBridge](https://docs.stripe.com/event-destinations/eventbridge.md) as a new type of destination. - Use the new [thin event payload](https://docs.stripe.com/event-destinations.md#thin-events) for smaller unversioned event deliveries. ## Changes #### REST API | | Change | Resource | | | ------ | -------------------------------------------------------------------------------- | | | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | | Endpoints | Change | Resource | | ----------------------------------------------------------------------------- | ------ | -------------------------------------------------------------------------------- | | `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable`, `ping` | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | #### Ruby | | Change | Resource | | | ------ | -------------------------------------------------------------------------------- | | | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | | Methods | Change | Resource | | ----------------------------------------------------------------------------- | ------ | -------------------------------------------------------------------------------- | | `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable`, `ping` | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | #### Python | | Change | Resource | | | ------ | --------------------------------------------------------------------------------------- | | | Added | [stripe.v2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | | Methods | Change | Resource | | ----------------------------------------------------------------------------- | ------ | -------------------------------------------------------------------------------- | | `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable`, `ping` | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | #### PHP | | Change | Resource | | | ------ | -------------------------------------------------------------------------------- | | | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | | Methods | Change | Resource | | ----------------------------------------------------------------------------- | ------ | -------------------------------------------------------------------------------- | | `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable`, `ping` | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | #### Java | | Change | Resource | | | ------ | -------------------------------------------------------------------------------- | | | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | | Methods | Change | Resource | | ----------------------------------------------------------------------------- | ------ | -------------------------------------------------------------------------------- | | `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable`, `ping` | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | #### Node.js | | Change | Resource | | | ------ | -------------------------------------------------------------------------------- | | | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | | Methods | Change | Resource | | -------------------------------------------------------------------------- | ------ | -------------------------------------------------------------------------------- | | `create`, `retrieve`, `update`, `list`, `del`, `disable`, `enable`, `ping` | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | #### Go | | Change | Resource | | | ------ | -------------------------------------------------------------------------------- | | | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | | Methods | Change | Resource | | -------------------------------------------------------------------------- | ------ | -------------------------------------------------------------------------------- | | `New`, `Retrieve`, `Update`, `List`, `Delete`, `Disable`, `Enable`, `Ping` | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | #### .NET | | Change | Resource | | | ------ | -------------------------------------------------------------------------------- | | | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | | Methods | Change | Resource | | ------------------------------------------------------------------------ | ------ | -------------------------------------------------------------------------------- | | `Create`, `Get`, `Update`, `List`, `Delete`, `Disable`, `Enable`, `Ping` | Added | [V2.EventDestinations](/api/v2/event-destinations?api-version=2024-10-28.acacia) | ## Upgrade #### REST API 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. 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](https://docs.stripe.com/api/versioning.md) to include `Stripe-Version: 2024-10-28.acacia` 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Ruby 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Ruby SDK to [v13.1.0](https://github.com/stripe/stripe-ruby/releases/tag/v13.1.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Python 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Python SDK to [v11.2.0](https://github.com/stripe/stripe-python/releases/tag/v11.2.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### PHP 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your PHP SDK to [v16.2.0](https://github.com/stripe/stripe-php/releases/tag/v16.2.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Java 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Java SDK to [v28.0.0](https://github.com/stripe/stripe-java/releases/tag/v28.0.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Node.js 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Node SDK to [v17.3.0](https://github.com/stripe/stripe-node/releases/tag/v17.3.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Go 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Go SDK to [v81.0.0](https://github.com/stripe/stripe-go/releases/tag/v81.0.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### .NET 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your .NET SDK to [v47.0.0](https://github.com/stripe/stripe-dotnet/releases/tag/v47.0.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). ## Related changes - [Adds event type for updated receipt data in Issuing transactions](https://docs.stripe.com/changelog/acacia/2024-10-28/issuing-transactions-updated-receipt-event.md)