# Updates to 3D Secure details in Charge object

## What’s new

Updates the `payment_method_details.card.three_d_secure` fields on the `Charge` object, and removes the `succeeded` and `authenticated` booleans. Use the `result` enum instead.

## Impact

Lets you more accurately determine the 3D Secure status of a payment by using the new `result` enum in the `payment_method_details.card.three_d_secure` fields of the `Charge` object. The previous `succeeded` and `authenticated` booleans have been removed, providing a more granular and comprehensive way to understand the 3D Secure authentication process for a given payment.

## Changes

#### REST API

| Parameters | Change | Resources or endpoints |
| --- | --- | --- |
| `authenticated`, `succeeded` | Removed | [Charge.payment_method_details.card.three_d_secure](/api/charges/object?api-version=2024-06-20#charge_object-payment_method_details-card-three_d_secure), [SetupAttempt.payment_method_details.card.three_d_secure](/api/setup_attempts/object?api-version=2024-06-20#setup_attempt_object-payment_method_details-card-three_d_secure) |

#### Ruby

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `authenticated`, `succeeded` | Removed | [Charge::PaymentMethodDetail::Card::ThreeDSecure](/api/charges/object?api-version=2024-06-20#charge_object-payment_method_details-card-three_d_secure), [SetupAttempt::PaymentMethodDetail::Card::ThreeDSecure](/api/setup_attempts/object?api-version=2024-06-20#setup_attempt_object-payment_method_details-card-three_d_secure) |

#### Python

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `authenticated`, `succeeded` | Removed | [Charge.PaymentMethodDetail.Card.ThreeDSecure](/api/charges/object?api-version=2024-06-20#charge_object-payment_method_details-card-three_d_secure), [SetupAttempt.PaymentMethodDetail.Card.ThreeDSecure](/api/setup_attempts/object?api-version=2024-06-20#setup_attempt_object-payment_method_details-card-three_d_secure) |

#### PHP

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `authenticated`, `succeeded` | Removed | [Charge.payment_method_details.card.three_d_secure](/api/charges/object?api-version=2024-06-20#charge_object-payment_method_details-card-three_d_secure), [SetupAttempt.payment_method_details.card.three_d_secure](/api/setup_attempts/object?api-version=2024-06-20#setup_attempt_object-payment_method_details-card-three_d_secure) |

#### Java

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `authenticated`, `succeeded` | Removed | [Charge.payment_method_details.card.three_d_secure](/api/charges/object?api-version=2024-06-20#charge_object-payment_method_details-card-three_d_secure), [SetupAttempt.payment_method_details.card.three_d_secure](/api/setup_attempts/object?api-version=2024-06-20#setup_attempt_object-payment_method_details-card-three_d_secure) |

#### Node.js

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `authenticated`, `succeeded` | Removed | [Charge.payment_method_details.card.three_d_secure](/api/charges/object?api-version=2024-06-20#charge_object-payment_method_details-card-three_d_secure), [SetupAttempt.payment_method_details.card.three_d_secure](/api/setup_attempts/object?api-version=2024-06-20#setup_attempt_object-payment_method_details-card-three_d_secure) |

#### Go

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `Authenticated`, `Succeeded` | Removed | [ChargePaymentMethodDetailsCardThreeDSecure](/api/charges/object?api-version=2024-06-20#charge_object-payment_method_details-card-three_d_secure), [SetupAttemptPaymentMethodDetailsCardThreeDSecure](/api/setup_attempts/object?api-version=2024-06-20#setup_attempt_object-payment_method_details-card-three_d_secure) |

#### .NET

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `Authenticated`, `Succeeded` | Removed | [Charge.PaymentMethodDetails.Card.ThreeDSecure](/api/charges/object?api-version=2024-06-20#charge_object-payment_method_details-card-three_d_secure), [SetupAttempt.PaymentMethodDetails.Card.ThreeDSecure](/api/setup_attempts/object?api-version=2024-06-20#setup_attempt_object-payment_method_details-card-three_d_secure) |

## 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.
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](https://docs.stripe.com/api/versioning.md) to include `Stripe-Version: 2020-08-27`
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your Ruby SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your Python SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your PHP SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your Java SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your Node SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your Go SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your .NET SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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).
