# Updates to Payment Record APIs

## What’s new

Adds report_refund API method and pagination to PaymentAttemptRecord list method

## Impact

These updates enhance the Payment Records API with two key improvements:

- Report refunds for off-Stripe payments

- Paginate through payment attempt records

## Changes

#### REST API

| Endpoint        | Change | Resource                                                                   |
| --------------- | ------ | -------------------------------------------------------------------------- |
| `report_refund` | Added  | [PaymentRecord](/api/payment-record/object?api-version=2025-10-29.preview) |

| Parameter        | Change | Resources or endpoints                                                                       |
| ---------------- | ------ | -------------------------------------------------------------------------------------------- |
| `starting_after` | Added  | [PaymentAttemptRecord#list](/api/payment-attempt-record/list?api-version=2025-10-29.preview) |

#### Ruby

| Method          | Change | Resource                                                                   |
| --------------- | ------ | -------------------------------------------------------------------------- |
| `report_refund` | Added  | [PaymentRecord](/api/payment-record/object?api-version=2025-10-29.preview) |

| Parameter        | Change | Resources or methods                                                                                |
| ---------------- | ------ | --------------------------------------------------------------------------------------------------- |
| `starting_after` | Added  | [PaymentAttemptRecord::ListParams](/api/payment-attempt-record/list?api-version=2025-10-29.preview) |

#### Python

| Method          | Change | Resource                                                                   |
| --------------- | ------ | -------------------------------------------------------------------------- |
| `report_refund` | Added  | [PaymentRecord](/api/payment-record/object?api-version=2025-10-29.preview) |

| Parameter        | Change | Resources or methods                                                                               |
| ---------------- | ------ | -------------------------------------------------------------------------------------------------- |
| `starting_after` | Added  | [PaymentAttemptRecord.ListParams](/api/payment-attempt-record/list?api-version=2025-10-29.preview) |

#### PHP

| Method          | Change | Resource                                                                   |
| --------------- | ------ | -------------------------------------------------------------------------- |
| `report_refund` | Added  | [PaymentRecord](/api/payment-record/object?api-version=2025-10-29.preview) |

| Parameter        | Change | Resources or methods                                                                                  |
| ---------------- | ------ | ----------------------------------------------------------------------------------------------------- |
| `starting_after` | Added  | [PaymentAttemptRecord.all().$params](/api/payment-attempt-record/list?api-version=2025-10-29.preview) |

#### Java

| Method          | Change | Resource                                                                   |
| --------------- | ------ | -------------------------------------------------------------------------- |
| `report_refund` | Added  | [PaymentRecord](/api/payment-record/object?api-version=2025-10-29.preview) |

| Parameter       | Change | Resources or methods                                                                              |
| --------------- | ------ | ------------------------------------------------------------------------------------------------- |
| `startingAfter` | Added  | [PaymentAttemptRecordListParams](/api/payment-attempt-record/list?api-version=2025-10-29.preview) |

#### Node.js

| Method          | Change | Resource                                                                   |
| --------------- | ------ | -------------------------------------------------------------------------- |
| `report_refund` | Added  | [PaymentRecord](/api/payment-record/object?api-version=2025-10-29.preview) |

| Parameter        | Change | Resources or methods                                                                              |
| ---------------- | ------ | ------------------------------------------------------------------------------------------------- |
| `starting_after` | Added  | [PaymentAttemptRecordListParams](/api/payment-attempt-record/list?api-version=2025-10-29.preview) |

#### Go

| Method         | Change | Resource                                                                   |
| -------------- | ------ | -------------------------------------------------------------------------- |
| `ReportRefund` | Added  | [PaymentRecord](/api/payment-record/object?api-version=2025-10-29.preview) |

| Parameter       | Change | Resources or methods                                                                              |
| --------------- | ------ | ------------------------------------------------------------------------------------------------- |
| `StartingAfter` | Added  | [PaymentAttemptRecordListParams](/api/payment-attempt-record/list?api-version=2025-10-29.preview) |

#### .NET

| Method         | Change | Resource                                                                   |
| -------------- | ------ | -------------------------------------------------------------------------- |
| `ReportRefund` | Added  | [PaymentRecord](/api/payment-record/object?api-version=2025-10-29.preview) |

| Parameter       | Change | Resources or methods                                                                               |
| --------------- | ------ | -------------------------------------------------------------------------------------------------- |
| `StartingAfter` | Added  | [PaymentAttemptRecordListOptions](/api/payment-attempt-record/list?api-version=2025-10-29.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-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).
