Accéder directement au contenu
Créez un compte ou connecter-vous
Logo de la documentation Stripe
/
Demander à l'assistant IA
Créez un compteConnectez-vous
Démarrer
Paiements
Revenus
Plateformes et places de marché
Gestion de fonds
Ressources pour les développeurs
API et SDKAide
Aperçu
Gestion des versions
Journal des modifications
    Présentation
    Clover
    Basil
    Acacia
    Versions précédentes
Mettre à niveau votre version de l'API
Actualiser votre version du SDK
Essentials
SDK
API
Tests
CLI Stripe
Exemples de projets
Outils
Dashboard Stripe
Workbench
Dashboard des développeurs
Shell Stripe
Stripe pour Visual Studio Code
Fonctionnalités
Workflows
Destinations d'événements
Alertes d'intégrité de StripeChargements de fichiers
Solutions d'IA
Boîte à outils des agents
Modèle de protocole contextuelCréer des flux de facturation SaaS avec l’IA agentique
Sécurité et confidentialité
Sécurité
Robot d'exploration Web Stripebot
Confidentialité
Extensions Stripe
Créer des applications Stripe
Utiliser les applications de Stripe
Partenaires
Partner ecosystem
Certification des partenaires
États-Unis
Français (France)
AccueilRessources pour les développeursChangelogClover2025-10-29.clover

Remarque

Cette page n'est pas encore disponible dans cette langue. Nous faisons tout notre possible pour proposer notre documentation dans davantage de langues et nous vous fournirons la version traduite dès qu'elle sera disponible.

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

paramètresModifierRessources ou endpoints
payment_record_refundtypeAjouté
CreditNote#create.refunds[]CreditNote#preview.refunds[]CreditNote#preview_lines.refunds[]
 + 1 de plus
CreditNote.refunds[]
payment_recordAjouté
Invoice#attach_paymentInvoicePayment#list.paymentInvoicePayment.payment
valeursModifierénumérations
payment_recordAjouté
InvoicePayment.payment.type
customAjouté
Invoice#update.payment_settingsInvoice#create.payment_settingsInvoice.payment_settings
 + 3 de plus
Subscription#update.payment_settingsSubscription#create.payment_settingsSubscription.payment_settings
champModifierDe → à
InvoicePayment#list.payment.typeModifié
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
Cette page vous a-t-elle été utile ?
OuiNon
  • Besoin d'aide ? Contactez le service Support.
  • Consultez notre log des modifications.
  • Des questions ? Contactez l'équipe commerciale.
  • LLM ? Lire llms.txt.
  • Propulsé par Markdoc