# Renames Payment Intent field for linking tax calculation ## What’s new Renames the preview parameter `async_workflows` to `hooks` in [Payment Intents](https://docs.stripe.com/api/payment_intents.md?api-version=2025-05-28.preview). ## Why is this a breaking change? The `async_workflows` preview parameter has been renamed to `hooks`. Participants of the private `payment_intent_with_tax_api` preview who want to use this Stripe version must update their integrations to use the new parameter name. ## Impact If you participated in the `payment_intent_with_tax_api` private preview and want to upgrade to this Stripe version, update your integration to use the new parameter name. ## Changes #### REST API | Parameters | Change | Resources or endpoints | | ----------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `hooks` | Added | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntent#capture](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntent#confirm](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntent#create](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntent#decrement_authorization](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntent#increment_authorization](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntent#update](/api/payment_intents/update?api-version=2025-05-28.preview) | | `async_workflows` | Removed | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntent#capture](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntent#confirm](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntent#create](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntent#decrement_authorization](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntent#increment_authorization](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntent#update](/api/payment_intents/update?api-version=2025-05-28.preview) | #### Ruby | Parameters | Change | Resources or methods | | ----------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `hooks` | Added | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntent::CaptureParams](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntent::ConfirmParams](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntent::CreateParams](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntent::DecrementAuthorizationParams](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntent::IncrementAuthorizationParams](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntent::UpdateParams](/api/payment_intents/update?api-version=2025-05-28.preview) | | `async_workflows` | Removed | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntent::CaptureParams](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntent::ConfirmParams](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntent::CreateParams](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntent::DecrementAuthorizationParams](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntent::IncrementAuthorizationParams](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntent::UpdateParams](/api/payment_intents/update?api-version=2025-05-28.preview) | #### Python | Parameters | Change | Resources or methods | | ----------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `hooks` | Added | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntent.CaptureParams](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntent.ConfirmParams](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntent.CreateParams](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntent.DecrementAuthorizationParams](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntent.IncrementAuthorizationParams](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntent.ModifyParams](/api/payment_intents/update?api-version=2025-05-28.preview) | | `async_workflows` | Removed | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntent.CaptureParams](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntent.ConfirmParams](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntent.CreateParams](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntent.DecrementAuthorizationParams](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntent.IncrementAuthorizationParams](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntent.ModifyParams](/api/payment_intents/update?api-version=2025-05-28.preview) | #### PHP | Parameters | Change | Resources or methods | | ----------------- | ------- | --------------------------------------------------------------------------- | | `hooks` | Added | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview) | | `async_workflows` | Removed | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview) | #### Java | Parameters | Change | Resources or methods | | ---------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `hooks` | Added | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntentCaptureParams](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntentConfirmParams](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntentCreateParams](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntentDecrementAuthorizationParams](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntentIncrementAuthorizationParams](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntentUpdateParams](/api/payment_intents/update?api-version=2025-05-28.preview) | | `asyncWorkflows` | Removed | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntentCaptureParams](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntentConfirmParams](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntentCreateParams](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntentDecrementAuthorizationParams](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntentIncrementAuthorizationParams](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntentUpdateParams](/api/payment_intents/update?api-version=2025-05-28.preview) | #### Node.js | Parameters | Change | Resources or methods | | ----------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `hooks` | Added | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntentCaptureParams](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntentConfirmParams](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntentCreateParams](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntentDecrementAuthorizationParams](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntentIncrementAuthorizationParams](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntentUpdateParams](/api/payment_intents/update?api-version=2025-05-28.preview) | | `async_workflows` | Removed | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntentCaptureParams](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntentConfirmParams](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntentCreateParams](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntentDecrementAuthorizationParams](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntentIncrementAuthorizationParams](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntentUpdateParams](/api/payment_intents/update?api-version=2025-05-28.preview) | #### Go | Parameters | Change | Resources or methods | | ---------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Hooks` | Added | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntentCaptureParams](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntentConfirmParams](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntentDecrementAuthorizationParams](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntentIncrementAuthorizationParams](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntentParams](/api/payment_intents/update?api-version=2025-05-28.preview) | | `AsyncWorkflows` | Removed | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntentCaptureParams](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntentConfirmParams](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntentDecrementAuthorizationParams](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntentIncrementAuthorizationParams](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntentParams](/api/payment_intents/update?api-version=2025-05-28.preview) | #### .NET | Parameters | Change | Resources or methods | | ---------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Hooks` | Added | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntentCaptureOptions](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntentConfirmOptions](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntentCreateOptions](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntentDecrementAuthorizationOptions](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntentIncrementAuthorizationOptions](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntentUpdateOptions](/api/payment_intents/update?api-version=2025-05-28.preview) | | `AsyncWorkflows` | Removed | [PaymentIntent](/api/payment_intents/object?api-version=2025-05-28.preview), [PaymentIntentCaptureOptions](/api/payment_intents/capture?api-version=2025-05-28.preview), [PaymentIntentConfirmOptions](/api/payment_intents/confirm?api-version=2025-05-28.preview), [PaymentIntentCreateOptions](/api/payment_intents/create?api-version=2025-05-28.preview), [PaymentIntentDecrementAuthorizationOptions](/api/payment_intents/decrement_authorization?api-version=2025-05-28.preview), [PaymentIntentIncrementAuthorizationOptions](/api/payment_intents/increment_authorization?api-version=2025-05-28.preview), [PaymentIntentUpdateOptions](/api/payment_intents/update?api-version=2025-05-28.preview) | ## 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: 2025-05-28.preview` 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 [v15.3.0-beta.1](https://github.com/stripe/stripe-ruby/releases/tag/v15.3.0-beta.1) 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 [v12.3.0b1](https://github.com/stripe/stripe-python/releases/tag/v12.3.0b1) 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 [v17.4.0-beta.2](https://github.com/stripe/stripe-php/releases/tag/v17.4.0-beta.2) 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 [v29.3.0-beta.1](https://github.com/stripe/stripe-java/releases/tag/v29.3.0-beta.1) 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 [v18.3.0-beta.1](https://github.com/stripe/stripe-node/releases/tag/v18.3.0-beta.1) 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 [v82.3.0-beta.1](https://github.com/stripe/stripe-go/releases/tag/v82.3.0-beta.1) 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 [v48.3.0-beta.1](https://github.com/stripe/stripe-dotnet/releases/tag/v48.3.0-beta.1) 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 - [Replaces tax association status fields](https://docs.stripe.com/changelog/basil/2025-05-28/flatten-tax-association.md)