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
Select a language
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
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
Select a language
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
For more information about issuing credit notes, see the Create Credit Notes API.
Changes
| Parameters | Change | Resources or endpoints |
|---|---|---|
| payment_record_refund type | Added | CreditNote#create. refunds[] CreditNote#preview. refunds[] CreditNote#preview_lines. refunds[] + 1 more CreditNote. refunds[] |
| payment_record | Added | Invoice#attach_payment InvoicePayment#list. payment InvoicePayment. payment |
| Values | Change | Enums |
| payment_record | Added | InvoicePayment. payment. type |
| custom | Added | Invoice#update. payment_settings Invoice#create. payment_settings Invoice. payment_settings + 3 more Subscription#update. payment_settings Subscription#create. payment_settings Subscription. payment_settings |
| Field | Change | From → to |
| InvoicePayment#list. payment. type | Changed | literal('payment_intent') → enum('payment_intent'|'payment_record') |
Upgrade
- View your current API version in Workbench.
- 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
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
Learn more about Stripe API upgrades.
