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 marketplaces
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
      2024-06-20
      2024-04-10
      2023-10-16
      2023-08-16
      2022-11-15
      2022-08-01
      2020-08-27
      2020-03-02
      2019-12-03
      2019-11-05
      2019-10-17
      2019-10-08
      2019-09-09
      2019-08-14
      2019-05-16
      2019-03-14
      2019-02-19
      2019-02-11
      2018-11-08
      2018-10-31
      2018-09-24
      2018-09-06
      2018-08-23
      2018-07-27
      2018-05-21
      2018-02-28
      2018-02-06
      2018-02-05
      2018-01-23
      2017-12-14
      2017-08-15
      2017-06-05
      2017-05-25
      2017-04-06
      2017-02-14
      2017-01-27
      2016-10-19
      2016-07-06
      2016-06-15
      2016-03-07
      2016-02-29
      2016-02-23
      2016-02-22
      2016-02-19
      2016-02-03
      2015-10-16
      2015-10-12
      2015-10-01
      2015-09-23
      2015-09-08
      2015-09-03
      2015-08-19
      2015-08-07
      2015-07-28
      2015-07-13
      2015-07-07
      2015-06-15
      2015-04-07
      2015-03-24
      2015-02-18
      2015-02-16
      2015-02-10
      2015-01-26
      2015-01-11
      2014-12-22
      2014-12-17
      2014-12-08
      2014-11-20
      2014-11-05
      2014-10-07
      2014-09-08
      2014-08-20
      2014-08-04
      2014-07-26
      2014-07-22
      2014-06-17
      2014-06-13
      2014-05-19
      2014-03-28
      2014-03-13
      2014-01-31
      2013-12-03
      2013-10-29
      2013-08-13
      2013-08-12
      2013-07-05
      2013-02-13
      2013-02-11
      2012-11-07
      2012-10-26
      2012-09-24
      2012-07-09
      2012-06-18
      2012-03-25
      2012-02-23
      2011-09-15
      2011-08-01
      2011-06-28
      2011-06-21
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éveloppeursChangelogPrevious versions2018-11-08

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.

Includes several changes for users of the Payment Intents API private beta Breaking changes

What’s new

The following changes only affect users of PaymentIntents as part of the private beta before November 15, 2018. If you didn’t use PaymentIntents before then, the following changes don’t affect you:

  • The next_source_action dictionary on PaymentIntents previously contained a key called value. This replaces that with authorize_with_url and use_stripe_sdk keys.
  • When creating PaymentIntents, renames the attempt_confirmation parameter to confirm.
  • The PaymentIntent confirm endpoint no longer supports the payment_intent parameter. To update a PaymentIntent’s source, pass source or source_data as a top-level parameter.
  • The return_url parameter is only allowed when confirming a PaymentIntent. Passing return_url when updating a PaymentIntent is no longer allowed.
  • When creating a PaymentIntent with transfer_data[destination], you must provide the on_behalf_of parameter, and it must match the account provided to transfer_data[destination]. This is because when you provide a destination, Stripe settles charges in the country of the destination account.
  • The next_source_action dictionary on PaymentIntents no longer contains the source_type property. To view the source type when retrieving PaymentIntents, expand the source parameter.

Impact

This set of changes affects early Payment Intents beta users, modifying several aspects of the API. These modifications require significant updates to existing code that interacts with PaymentIntents, potentially impacting payment flow logic, error handling, and data processing. You need to update you integration to align with the new structure and requirements.

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: 2018-11-08
  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.

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