# Adds new error codes for the crypto wallet payout method ## What’s new Adds three new error codes for the [crypto_wallet](https://docs.stripe.com/api/v2/money-management/outbound-setup-intents/create.md?api-version=2025-10-29.preview#v2_create_outbound_setup_intents-payout_method_data-crypto_wallet) payout method when creating [OutboundSetupIntents](https://docs.stripe.com/api/v2/money-management/outbound-setup-intents/create.md?api-version=2025-10-29.preview) API: - `blocked_payout_method_crypto_wallet`: Returned when you can’t use the crypto wallet due to suspicious activity. - `unsupported_payout_method_crypto_wallet`: Returned when Stripe is unable to support this type of crypto wallet. - `limit_payout_method_crypto_wallet`: Returned when the number of crypto wallets exceeds the limit in a given workspace. ## Impact These error codes make `crypto_wallet` error handling consistent with other payout methods. When these conditions occur, Stripe returns an HTTP `400` error with the specific error code. In earlier API versions, these cases returned a generic HTTP `500` error. ## Changes #### REST API | Codes | Change | | | -------------------------------------------------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------- | | `blocked_payout_method_crypto_wallet`, `unsupported_payout_method_crypto_wallet` | Added | [blocked_by_stripe](/api/v2/money-management/outbound-setup-intents/object?api-version=2025-10-29.preview) | | `limit_payout_method_crypto_wallet` | Added | [quota_exceeded](/api/v2/money-management/outbound-setup-intents/object?api-version=2025-10-29.preview) | #### Ruby This change does not affect the Ruby SDK. #### Python | Codes | Change | | | -------------------------------------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------- | | `blocked_payout_method_crypto_wallet`, `unsupported_payout_method_crypto_wallet` | Added | [BlockedByStripeError](/api/v2/money-management/outbound-setup-intents/object?api-version=2025-10-29.preview) | | `limit_payout_method_crypto_wallet` | Added | [QuotaExceededError](/api/v2/money-management/outbound-setup-intents/object?api-version=2025-10-29.preview) | #### PHP This change does not affect the PHP SDK. #### Java This change does not affect the Java SDK. #### Node.js | Codes | Change | | | -------------------------------------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------- | | `blocked_payout_method_crypto_wallet`, `unsupported_payout_method_crypto_wallet` | Added | [BlockedByStripeError](/api/v2/money-management/outbound-setup-intents/object?api-version=2025-10-29.preview) | | `limit_payout_method_crypto_wallet` | Added | [QuotaExceededError](/api/v2/money-management/outbound-setup-intents/object?api-version=2025-10-29.preview) | #### Go | Codes | Change | | | -------------------------------------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------- | | `blocked_payout_method_crypto_wallet`, `unsupported_payout_method_crypto_wallet` | Added | [BlockedByStripeError](/api/v2/money-management/outbound-setup-intents/object?api-version=2025-10-29.preview) | | `limit_payout_method_crypto_wallet` | Added | [QuotaExceededError](/api/v2/money-management/outbound-setup-intents/object?api-version=2025-10-29.preview) | #### .NET This change does not affect the .NET SDK. ## 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-10-29.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 [v17.2.0-beta.1](https://github.com/stripe/stripe-ruby/releases/tag/v17.2.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 [v13.2.0b1](https://github.com/stripe/stripe-python/releases/tag/v13.2.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 [v18.2.0-beta.1](https://github.com/stripe/stripe-php/releases/tag/v18.2.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). #### 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 [v30.2.0-beta.1](https://github.com/stripe/stripe-java/releases/tag/v30.2.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 [v19.3.0-beta.1](https://github.com/stripe/stripe-node/releases/tag/v19.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 [v83.1.0-beta.3](https://github.com/stripe/stripe-go/releases/tag/v83.1.0-beta.3) 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 [v49.2.0-beta.1](https://github.com/stripe/stripe-dotnet/releases/tag/v49.2.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).