Accéder directement au contenu
Créez un compte
ou
connecter-vous
Logo de la documentation Stripe
/
Demander à l'assistant IA
Créez un compte
Connectez-vous
Démarrer
Paiements
Revenus
Plateformes et places de marché
Gestion de fonds
Ressources pour les développeurs
Aperçu
À propos des paiements Stripe
Mettre votre intégration à niveau
Analyses des paiements
Paiements en ligne
PrésentationTrouver votre cas d'usageUtiliser Managed Payments
Utiliser Payment Links
Utiliser une page de paiement préconfiguré
Créer une intégration personnalisée avec Elements
Développer une intégration dans l'application
Moyens de paiement
Ajouter des moyens de paiement
Gérer les moyens de paiement
Paiement accéléré avec Link
Interfaces de paiement
Payment Links
Checkout
Elements pour le web
Paiements dans l'application
Scénarios de paiement
Gérer plusieurs devises
Tunnels de paiement personnalisés
Acquisition flexible
Orchestration
Paiements par TPE
Terminal
Au-delà des paiements
Constituez votre entreprise
Cryptomonnaies
Commerce agentique
    Présentation
    Build your checkout flow for agentic commerce
    Tests
    Integrate the Agentic Commerce Protocol
      Build the Agentic Commerce Protocol checkout endpoints
Financial Connections
Climate
Comprendre la fraude
Radar pour la protection contre la fraude
Gestion des litiges
Vérifier l'identité
AccueilPaiementsAgentic commerce

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.

Integrate the Agentic Commerce ProtocolVersion bêta privée

Learn about how to integrate ACP with Stripe.

Agentic Commerce Protocol (ACP) is an open-source specification for enabling commerce between compatible applications, such as ChatGPT, and sellers. You can implement it as a RESTful interface or MCP server.

You can use the Agentic Commerce Protocol to make your checkout accessible to applications for initiating and completing checkouts. Applications can securely share payment credentials, including Stripe’s SharedPaymentToken, for processing in your existing payment stack.

For example, in a typical checkout flow, the user interface, data model, and payment processing are entirely the responsibility of the seller. The seller presents a checkout page, stores data about the cart and order, collects payment credentials, and processes the payment.

In contrast, during an agentic checkout process, the AI agent is responsible for presenting the checkout interface and collecting payment credentials, while the seller is responsible for their existing data model and payment processing.

To learn more, see the ACP website.

Lifecycle

This section outlines the steps involved in the checkout process from the buyer’s initial intent to order through to payment confirmation by the seller.

  1. The buyer expresses intent to order, and the agent initiates checkout with the seller with a CreateCheckoutRequest.
  2. The seller processes the request, generating a cart, and any other artifact as usual, responding with the current checkout state.
  3. The agent renders UI (a checkout interface, text, and so on) to relay the current state (for example, total) and options (for example, shipping) to the buyer.
  4. After the buyer makes selections, the agent and seller communicate with each other using UpdateCheckoutRequest.
  5. After the buyer expresses intent to pay, the agent provisions a SharedPaymentToken, set to the amount and the seller, and shares with the seller with a CompleteCheckoutRequest.
  6. The seller creates a PaymentIntent and sends confirmation to the agent.

Endpoints

The seller makes their checkout available for agents to interact with by building out a RESTful HTTP interface to specification with the four following endpoints. Every endpoint response includes the current state of the checkout, acting as source of truth for the agent.

To manage the checkout process:

  1. Create a Checkout object: Provide a unique SKU to generate the cart and checkout data in your backend. Your response includes details about supported payment methods, fulfillment options, and more.
  2. Update a Checkout object: Update modifications such as line item quantities, fulfillment methods, and buyer details as the buyer navigates the checkout process.
  3. Complete a Checkout object: Pass the SharedPaymentToken in a request. Process your payment during this request and respond with order details.
  4. Cancel a Checkout object: Notify the agent of cancellation when the buyer exits or dismisses the checkout so you can release inventory and update the checkout status to canceled.

Events

After checkout completes, notify the agent about order creation and updates. For example, update the agent after an order has shipped. This enables the agent to communicate status changes, request actions, or share other information with the buyer.

Security

To maintain transaction integrity and protect sensitive information within the agentic commerce framework, follow these guidelines:

  • All requests require HTTPS and include Authorization: Bearer {token}.
  • Sign all webhook events and include an HMAC signature sent as a request header.
  • The agentic application provides authorization and signing keys during onboarding.
Cette page vous a-t-elle été utile ?
OuiNon
  • Besoin d'aide ? Contactez le service Support.
  • Rejoignez notre programme d'accès anticipé.
  • Consultez notre log des modifications.
  • Des questions ? Contactez l'équipe commerciale.
  • LLM ? Lire llms.txt.
  • Propulsé par Markdoc