Skip to content
Create account or Sign in
The Stripe Docs logo
/
Ask AI
Create accountSign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
APIs & SDKsHelp
Overview
Versioning
Changelog
    Overview
    Clover
    Basil
    Acacia
    Previous versions
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Sample projects
Tools
Stripe Dashboard
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
Event destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Model Context ProtocolBuild agentic AI SaaS Billing workflows
Security and privacy
Security
Stripebot web crawler
Privacy
Extend Stripe
Build Stripe apps
Use apps from Stripe
Partners
Partner ecosystem
Partner certification
United States
English (United States)
HomeDeveloper resourcesChangelogClover2025-10-29.clover

Adds support for using Payment Records with Invoices and Credit Notes

What’s new

Adds support for attaching Payment Records to Invoices and creating Credit Notes against Payment Record refunds. That lets you integrate with third-party payment processors 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 to attach Payment Records to Invoices:

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/invoices/{INVOICE_ID}/attach_payment \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -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:

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/credit_notes \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -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.

Changes

ParametersChangeResources or endpoints
payment_record_refundtypeAdded
CreditNote#create.refunds[]CreditNote#preview.refunds[]CreditNote#preview_lines.refunds[]
 + 1 more
CreditNote.refunds[]
payment_recordAdded
Invoice#attach_paymentInvoicePayment#list.paymentInvoicePayment.payment
ValuesChangeEnums
payment_recordAdded
InvoicePayment.payment.type
customAdded
Invoice#update.payment_settingsInvoice#create.payment_settingsInvoice.payment_settings
 + 3 more
Subscription#update.payment_settingsSubscription#create.payment_settingsSubscription.payment_settings
FieldChangeFrom → to
InvoicePayment#list.payment.typeChanged
literal('payment_intent') → enum('payment_intent'|'payment_record')

Upgrade

  1. View your current API version 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 to include Stripe-Version: 2025-10-29.clover
  3. Upgrade the API version used for webhook endpoints.
  4. Test your integration against the new version.
  5. If you use Connect, test your Connect integration.
  6. In Workbench, perform the upgrade. You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Related changes

  • Updates the category field of Credit Grants to be optional
  • Adds a webhook event type for Invoices that require a non-Stripe payment
Was this page helpful?
YesNo
  • Need help? Contact Support.
  • Check out our changelog.
  • Questions? Contact Sales.
  • LLM? Read llms.txt.
  • Powered by Markdoc