# Adds support for using Payment Records with Invoices and Credit Notes

## What’s new

Adds support for attaching [Payment Records](https://docs.stripe.com/api/payment-record.md?api-version=2025-10-29.clover) to [Invoices](https://docs.stripe.com/api/invoices.md?api-version=2025-10-29.clover) and creating [Credit Notes](https://docs.stripe.com/api/credit_notes.md?api-version=2025-10-29.clover) against Payment Record refunds. That lets you [integrate with third-party payment processors](https://docs.stripe.com/billing/subscriptions/third-party-payment-processing.md?process-payments-third-party=own-processor) while maintaining accurate accounting records in Stripe.

## Impact

### Attach Payment Records to Invoices

You can now record payments processed through third-party processors by using the [Attach Payment API](https://docs.stripe.com/api/invoices/attach_payment.md?api-version=2025-10-29.clover) to attach Payment Records to Invoices:

```curl
curl https://api.stripe.com/v1/invoices/{INVOICE_ID}/attach_payment \
  -u "<<YOUR_SECRET_KEY>>:" \
  -d payment_record={PAYMENT_RECORD_ID} \
  -d "expand[]=payments"
```

### Create Credit Notes for Payment Record refunds

You can now maintain accurate accounting records by creating Credit Notes to represent refunds made through third-party processors. When you create a Credit Note, provide the ID of the Payment Record associated with the refund:

```curl
curl https://api.stripe.com/v1/credit_notes \
  -u "<<YOUR_SECRET_KEY>>:" \
  -d invoice={INVOICE_ID} \
  -d "refunds[0][type]=payment_record_refund" \
  -d "refunds[0][payment_record_refund][payment_record]={PAYMENT_RECORD_ID}" \
  -d "refunds[0][payment_record_refund][refund_group]={REFUND_REFERENCE_ID}"
```

For more information about issuing credit notes, see the [Create Credit Notes API](https://docs.stripe.com/api/credit_notes/create.md?api-version=2025-10-29.clover).

## Changes

#### REST API

| Parameters                      | Change | Resources or endpoints                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payment_record_refund`, `type` | Added  | [CreditNote#create.refunds[]](/api/credit_notes/create?api-version=2025-10-29.clover#create_credit_note-refunds), [CreditNote#preview.refunds[]](/api/credit_notes/preview?api-version=2025-10-29.clover#preview_credit_note-refunds), [CreditNote#preview_lines.refunds[]](/api/credit_notes/preview_lines?api-version=2025-10-29.clover#retrieve_credit_note_line_item-refunds), [CreditNote.refunds[]](/api/credit_notes/object?api-version=2025-10-29.clover#credit_note_object-refunds) |
| `payment_record`                | Added  | [Invoice#attach_payment](/api/invoices/attach_payment?api-version=2025-10-29.clover), [InvoicePayment#list.payment](/api/invoice-payment/list?api-version=2025-10-29.clover#list_invoice_payments-payment), [InvoicePayment.payment](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment)                                                                                                                                                               |

| Values           | Change | Enums                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ---------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payment_record` | Added  | [InvoicePayment.payment.type](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment-type)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `custom`         | Added  | [Invoice#update.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Invoice#create.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Invoice.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Subscription#update.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Subscription#create.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Subscription.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types) |

| Field                              | Change  | From → to                                                             |
| ---------------------------------- | ------- | --------------------------------------------------------------------- |
| `InvoicePayment#list.payment.type` | Changed | `literal('payment_intent') → enum('payment_intent'|'payment_record')` |

#### Ruby

| Parameters                      | Change | Resources or methods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payment_record_refund`, `type` | Added  | [CreditNote::CreateParams::Refund](/api/credit_notes/create?api-version=2025-10-29.clover#create_credit_note-refunds), [CreditNote::ListPreviewLineItemsParams::Refund](/api/credit_notes/preview_lines?api-version=2025-10-29.clover#retrieve_credit_note_line_item-refunds), [CreditNote::PreviewParams::Refund](/api/credit_notes/preview?api-version=2025-10-29.clover#preview_credit_note-refunds), [CreditNote::Refund](/api/credit_notes/object?api-version=2025-10-29.clover#credit_note_object-refunds) |
| `payment_record`                | Added  | [Invoice::AttachPaymentParams](/api/invoices/attach_payment?api-version=2025-10-29.clover), [InvoicePayment::ListParams::Payment](/api/invoice-payment/list?api-version=2025-10-29.clover#list_invoice_payments-payment), [InvoicePayment::Payment](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment)                                                                                                                                                                    |

| Field                                      | Change  | From → to                                                             |
| ------------------------------------------ | ------- | --------------------------------------------------------------------- |
| `InvoicePayment::ListParams::Payment.type` | Changed | `literal('payment_intent') → enum('payment_intent'|'payment_record')` |

#### Python

| Parameters                      | Change | Resources or methods                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payment_record_refund`, `type` | Added  | [CreditNote.CreateParamsRefund](/api/credit_notes/create?api-version=2025-10-29.clover#create_credit_note-refunds), [CreditNote.PreviewLinesParamsRefund](/api/credit_notes/preview_lines?api-version=2025-10-29.clover#retrieve_credit_note_line_item-refunds), [CreditNote.PreviewParamsRefund](/api/credit_notes/preview?api-version=2025-10-29.clover#preview_credit_note-refunds), [CreditNote.Refund](/api/credit_notes/object?api-version=2025-10-29.clover#credit_note_object-refunds) |
| `payment_record`                | Added  | [Invoice.AttachPaymentParams](/api/invoices/attach_payment?api-version=2025-10-29.clover), [InvoicePayment.ListParamsPayment](/api/invoice-payment/list?api-version=2025-10-29.clover#list_invoice_payments-payment), [InvoicePayment.Payment](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment)                                                                                                                                                       |

| Values           | Change | Enums                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payment_record` | Added  | [InvoicePayment.Payment.type](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment-type)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `custom`         | Added  | [Invoice.ModifyParamsPaymentSetting](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Invoice.CreateParamsPaymentSetting](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Invoice.PaymentSetting](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Subscription.ModifyParamsPaymentSetting](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Subscription.CreateParamsPaymentSetting](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Subscription.PaymentSetting](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types) |

| Field                                   | Change  | From → to                                                             |
| --------------------------------------- | ------- | --------------------------------------------------------------------- |
| `InvoicePayment.ListParamsPayment.type` | Changed | `literal('payment_intent') → enum('payment_intent'|'payment_record')` |

#### PHP

| Parameters                      | Change | Resources or methods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payment_record_refund`, `type` | Added  | [CreditNote.create().$params.refund](/api/credit_notes/create?api-version=2025-10-29.clover#create_credit_note-refunds), [CreditNote.preview().$params.refund](/api/credit_notes/preview?api-version=2025-10-29.clover#preview_credit_note-refunds), [CreditNote.preview_lines().$params.refund](/api/credit_notes/preview_lines?api-version=2025-10-29.clover#retrieve_credit_note_line_item-refunds), [CreditNote.refunds[]](/api/credit_notes/object?api-version=2025-10-29.clover#credit_note_object-refunds) |
| `payment_record`                | Added  | [Invoice.attach_payment().$params](/api/invoices/attach_payment?api-version=2025-10-29.clover), [InvoicePayment.all().$params.payment](/api/invoice-payment/list?api-version=2025-10-29.clover#list_invoice_payments-payment), [InvoicePayment.payment](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment)                                                                                                                                                                 |

| Values           | Change | Enums                                                                                                                                                                                                                                                                         |
| ---------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payment_record` | Added  | [InvoicePayment.payment.type](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment-type)                                                                                                                                                  |
| `custom`         | Added  | [Invoice.payment_settings](/api/invoices/object?api-version=2025-10-29.clover#invoice_object-payment_settings-payment_method_types), [Subscription.payment_settings](/api/invoices/object?api-version=2025-10-29.clover#invoice_object-payment_settings-payment_method_types) |

| Field                                       | Change  | From → to                                                             |
| ------------------------------------------- | ------- | --------------------------------------------------------------------- |
| `InvoicePayment.all().$params.payment.type` | Changed | `literal('payment_intent') → enum('payment_intent'|'payment_record')` |

#### Java

| Parameters                    | Change | Resources or methods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ----------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `paymentRecordRefund`, `type` | Added  | [CreditNote.refunds[]](/api/credit_notes/object?api-version=2025-10-29.clover#credit_note_object-refunds), [CreditNoteCreateParams.refunds[]](/api/credit_notes/create?api-version=2025-10-29.clover#create_credit_note-refunds), [CreditNotePreviewLinesParams.refunds[]](/api/credit_notes/preview_lines?api-version=2025-10-29.clover#retrieve_credit_note_line_item-refunds), [CreditNotePreviewParams.refunds[]](/api/credit_notes/preview?api-version=2025-10-29.clover#preview_credit_note-refunds) |
| `paymentRecord`               | Added  | [InvoiceAttachPaymentParams](/api/invoices/attach_payment?api-version=2025-10-29.clover), [InvoicePayment.payment](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment), [InvoicePaymentListParams.payment](/api/invoice-payment/list?api-version=2025-10-29.clover#list_invoice_payments-payment)                                                                                                                                                                    |

| Value    | Change | Enums                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| -------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `custom` | Added  | [InvoiceUpdateParams.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-paymentMethodTypes), [InvoiceCreateParams.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-paymentMethodTypes), [SubscriptionUpdateParams.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-paymentMethodTypes), [SubscriptionCreateParams.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-paymentMethodTypes) |

| Field                                   | Change  | From → to                                                             |
| --------------------------------------- | ------- | --------------------------------------------------------------------- |
| `InvoicePaymentListParams.payment.type` | Changed | `literal('payment_intent') → enum('payment_intent'|'payment_record')` |

#### Node.js

| Parameters                      | Change | Resources or methods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payment_record_refund`, `type` | Added  | [CreditNote.refunds[]](/api/credit_notes/object?api-version=2025-10-29.clover#credit_note_object-refunds), [CreditNoteCreateParams.refunds[]](/api/credit_notes/create?api-version=2025-10-29.clover#create_credit_note-refunds), [CreditNotePreviewLinesParams.refunds[]](/api/credit_notes/preview_lines?api-version=2025-10-29.clover#retrieve_credit_note_line_item-refunds), [CreditNotePreviewParams.refunds[]](/api/credit_notes/preview?api-version=2025-10-29.clover#preview_credit_note-refunds) |
| `payment_record`                | Added  | [InvoiceAttachPaymentParams](/api/invoices/attach_payment?api-version=2025-10-29.clover), [InvoicePayment.payment](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment), [InvoicePaymentListParams.payment](/api/invoice-payment/list?api-version=2025-10-29.clover#list_invoice_payments-payment)                                                                                                                                                                    |

| Values           | Change | Enums                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payment_record` | Added  | [InvoicePayment.payment.type](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment-type)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `custom`         | Added  | [InvoiceUpdateParams.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [InvoiceCreateParams.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Invoice.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [SubscriptionUpdateParams.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [SubscriptionCreateParams.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types), [Subscription.payment_settings](/api/invoices/update?api-version=2025-10-29.clover#update_invoice-payment_settings-payment_method_types) |

| Field                                   | Change  | From → to                                                             |
| --------------------------------------- | ------- | --------------------------------------------------------------------- |
| `InvoicePaymentListParams.payment.type` | Changed | `literal('payment_intent') → enum('payment_intent'|'payment_record')` |

#### Go

| Parameters                    | Change | Resources or methods                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ----------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `PaymentRecordRefund`, `Type` | Added  | [CreditNotePreviewLinesRefundParams](/api/credit_notes/preview_lines?api-version=2025-10-29.clover#retrieve_credit_note_line_item-refunds), [CreditNotePreviewRefundParams](/api/credit_notes/preview?api-version=2025-10-29.clover#preview_credit_note-refunds), [CreditNoteRefund](/api/credit_notes/object?api-version=2025-10-29.clover#credit_note_object-refunds), [CreditNoteRefundParams](/api/credit_notes/create?api-version=2025-10-29.clover#create_credit_note-refunds) |
| `PaymentRecord`               | Added  | [InvoiceAttachPaymentParams](/api/invoices/attach_payment?api-version=2025-10-29.clover), [InvoicePaymentListPaymentParams](/api/invoice-payment/list?api-version=2025-10-29.clover#list_invoice_payments-payment), [InvoicePaymentPayment](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment)                                                                                                                                                |

| Values           | Change | Enums                                                                                                                                                                                                                                                                 |
| ---------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payment_record` | Added  | [InvoicePaymentPayment.Type](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment-type)                                                                                                                                           |
| `custom`         | Added  | [InvoicePaymentSettings](/api/invoices/object?api-version=2025-10-29.clover#invoice_object-payment_settings-PaymentMethodTypes), [SubscriptionPaymentSettings](/api/invoices/object?api-version=2025-10-29.clover#invoice_object-payment_settings-PaymentMethodTypes) |

| Field                                  | Change  | From → to                                                             |
| -------------------------------------- | ------- | --------------------------------------------------------------------- |
| `InvoicePaymentListPaymentParams.Type` | Changed | `literal('payment_intent') → enum('payment_intent'|'payment_record')` |

#### .NET

| Parameters                    | Change | Resources or methods                                                                                                                                                                                                                                                                                                                 |
| ----------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `PaymentRecordRefund`, `Type` | Added  | [CreditNote.Refund](/api/credit_notes/object?api-version=2025-10-29.clover#credit_note_object-refunds), [CreditNoteRefundOptions](/api/credit_notes/create?api-version=2025-10-29.clover#create_credit_note-refunds)                                                                                                                 |
| `PaymentRecord`               | Added  | [InvoiceAttachPaymentOptions](/api/invoices/attach_payment?api-version=2025-10-29.clover), [InvoicePayment.Payment](/api/invoice-payment/object?api-version=2025-10-29.clover#invoice_payment_object-payment), [InvoicePaymentPaymentOptions](/api/invoice-payment/list?api-version=2025-10-29.clover#list_invoice_payments-payment) |

| Field                               | Change  | From → to                                                             |
| ----------------------------------- | ------- | --------------------------------------------------------------------- |
| `InvoicePaymentPaymentOptions.Type` | Changed | `literal('payment_intent') → enum('payment_intent'|'payment_record')` |

## 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.clover`
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.1.0](https://github.com/stripe/stripe-ruby/releases/tag/v17.1.0)
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.1.0](https://github.com/stripe/stripe-python/releases/tag/v13.1.0)
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.1.0](https://github.com/stripe/stripe-php/releases/tag/v18.1.0)
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.1.0](https://github.com/stripe/stripe-java/releases/tag/v30.1.0)
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.2.0](https://github.com/stripe/stripe-node/releases/tag/v19.2.0)
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](https://github.com/stripe/stripe-go/releases/tag/v83.1.0)
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.1.0](https://github.com/stripe/stripe-dotnet/releases/tag/v49.1.0)
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

- [Updates the category field of Credit Grants to be optional](https://docs.stripe.com/changelog/clover/2025-10-29/credit-grant-optional-category.md)
- [Adds a webhook event type for Invoices that require a non-Stripe payment](https://docs.stripe.com/changelog/clover/2025-10-29/invoice-payment-attempt-required-event.md)
