# Adds submission method to dispute evidence details

## What’s new

You can now view the method used to submit your dispute evidence by checking the `submission_method` field in the [evidence_details](https://docs.stripe.com/api/disputes/object.md?api-version=2025-06-30.preview#dispute_object-evidence_details) hash (for example, `manual` or `smart_disputes`).

## Impact

If you challenge a dispute by submitting evidence, you can identify whether you manually submitted the dispute or used [Smart Disputes](https://docs.stripe.com/disputes/smart-disputes.md).

## Changes

#### REST API

| Parameter           | Change | Resources or endpoints                                                                                          |
| ------------------- | ------ | --------------------------------------------------------------------------------------------------------------- |
| `submission_method` | Added  | [Dispute.evidence_details](/api/disputes/object?api-version=2025-06-30.preview#dispute_object-evidence_details) |

#### Ruby

| Parameter           | Change | Resources or methods                                                                                                             |
| ------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------- |
| `submission_method` | Added  | [Dispute::EvidenceDetail](/api/disputes/object?api-version=2025-06-30.preview#dispute_object-evidence_details-submission_method) |

#### Python

| Parameter           | Change | Resources or methods                                                                                                            |
| ------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------- |
| `submission_method` | Added  | [Dispute.EvidenceDetail](/api/disputes/object?api-version=2025-06-30.preview#dispute_object-evidence_details-submission_method) |

#### PHP

This change does not affect the PHP SDK.

#### Java

| Parameter          | Change | Resources or methods                                                                                            |
| ------------------ | ------ | --------------------------------------------------------------------------------------------------------------- |
| `submissionMethod` | Added  | [Dispute.evidence_details](/api/disputes/object?api-version=2025-06-30.preview#dispute_object-evidence_details) |

#### Node.js

| Parameter           | Change | Resources or methods                                                                                            |
| ------------------- | ------ | --------------------------------------------------------------------------------------------------------------- |
| `submission_method` | Added  | [Dispute.evidence_details](/api/disputes/object?api-version=2025-06-30.preview#dispute_object-evidence_details) |

#### Go

| Parameter          | Change | Resources or methods                                                                                          |
| ------------------ | ------ | ------------------------------------------------------------------------------------------------------------- |
| `SubmissionMethod` | Added  | [DisputeEvidenceDetails](/api/disputes/object?api-version=2025-06-30.preview#dispute_object-evidence_details) |

#### .NET

| Parameter          | Change | Resources or methods                                                                                                             |
| ------------------ | ------ | -------------------------------------------------------------------------------------------------------------------------------- |
| `SubmissionMethod` | Added  | [Dispute.EvidenceDetails](/api/disputes/object?api-version=2025-06-30.preview#dispute_object-evidence_details-submission_method) |

## 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-06-30.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.4.0-beta.2](https://github.com/stripe/stripe-ruby/releases/tag/v15.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).

#### 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.4.0b2](https://github.com/stripe/stripe-python/releases/tag/v12.4.0b2)
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.5.0-beta.2](https://github.com/stripe/stripe-php/releases/tag/v17.5.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.4.0-beta.2](https://github.com/stripe/stripe-java/releases/tag/v29.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).

#### 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.4.0-beta.2](https://github.com/stripe/stripe-node/releases/tag/v18.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).

#### 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.4.0-beta.2](https://github.com/stripe/stripe-go/releases/tag/v82.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).

#### .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.4.0-beta.2](https://github.com/stripe/stripe-dotnet/releases/tag/v48.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).
