Weiter zum Inhalt
Konto erstellen
oder
anmelden
Das Logo der Stripe-Dokumentation
/
KI fragen
Konto erstellen
Anmelden
Jetzt starten
Zahlungen
Umsatz
Plattformen und Marktplätze
Geldmanagement
Entwicklerressourcen
Übersicht
Informationen zu Stripe Payments
Aktualisieren Sie Ihre Integration
Zahlungsanalysefunktionen
Online-Zahlungen
ÜbersichtIhren Use case findenUse Managed Payments
Payment Links verwenden
Vorgefertigte Bezahlseite verwenden
Build a custom integration with Elements
    Übersicht
    Compare Checkout Sessions and PaymentIntents
    Quickstart guides
    Erweiterte Integration entwerfen
    Erscheinungsbild anpassen
    Zahlungsmethoden verwalten
    Zusätzliche Informationen erfassen
    Abonnement-Integration erstellen
    Dynamic updates
    Rabatte hinzufügen
    Steuern auf Ihre Zahlungen einziehen
    Lassen Sie Kundinnen/Kunden in ihrer Landeswährung zahlen
    Zahlungsmethoden von Kundinnen und Kunden speichern und abrufen
    Belege und bezahlte Rechnungen senden
    Zahlungen auf Ihrem Server manuell genehmigen
    Eine Zahlung separat autorisieren und einziehen
    Elements mit Checkout Sessions API-Änderungsprotokoll (Beta)
In-App-Integration erstellen
Zahlungsmethoden
Zahlungsmethoden hinzufügen
Zahlungsmethoden verwalten
Schnellerer Bezahlvorgang mit Link
Zahlungsschnittstellen
Payment Links
Checkout
Web Elements
In-App Zahlungen
Zahlungsszenarien
Umgang mit mehreren Währungen
Nutzerdefinierte Zahlungsabläufe
Flexibles Acquiring
Orchestrierung
Präsenzzahlungen
Terminal
Mehr als Zahlungen
Unternehmensgründung
Krypto
Financial Connections
Climate
Betrug verstehen
Betrugsprävention von Radar
Zahlungsanfechtungen verwalten
Identitäten verifizieren
StartseiteZahlungenBuild a custom integration with Elements

Notiz

Bis jetzt ist diese Seite noch nicht in dieser Sprache verfügbar. Wir arbeiten aber verstärkt daran, unsere Dokumentation in weiteren Sprachen bereitzustellen, und werden die Übersetzung sofort anzeigen, sobald diese verfügbar ist.

Compare the Checkout Sessions and Payment Intents APIs

Learn about the differences between the Checkout Sessions and Payment Intents APIs and when to use them with Stripe Elements.

Stripe offers two core payment APIs that you can use with Elements to enable different levels of customization and control over your payment flows. The Checkout Sessions API supports common checkout workflows with built-in features that eliminate the need for custom code and is recommended for most developers. The Payment Intents API allows you to use custom code for more granular control over the checkout process, but requires more integration code and maintenance.

Notiz

This guide is specific to using APIs with Elements. To explore other use cases, see Design a payments integration.

Choose the right API

It’s important to understand which API is right for your business so that you can access the features you want and decide how much code you want to manage long-term. Checkout Sessions will continue to support new built-in features that won’t be available with PaymentIntents. If you use PaymentIntents, you can manually build a similar feature in your code. Some features, such as Adaptive Pricing, require a large effort to build manually with PaymentIntents.

Checkout SessionsPayment Intents
Recommended forBusinesses who want less integration code, less code maintenance over time, and access to built-in features that manage the checkout state for you, such as—discounts, line items, sales tax, and Adaptive Pricing.Businesses who have their own tax engine, subscription engine, and promotion code engine, and need the flexibility to build and manage their own checkout session without built-in features.
IntegrationUse code to add a checkout page and integrate additional products. For example, enable Stripe Tax by setting automatic_tax.enabled = true, compared to the Payment Intents API which requires you to manually call the Tax API and link calculations.The Payment Intents API gives you complete control to build any checkout or payment experience. You calculate the final amount with taxes, discounts, subscriptions, and currency conversion yourself.
User interface
  • Elements
  • Stripe-hosted
  • Embedded form
Elements
ComplexityBuilt to scale with your business from simple to complex use cases.Best for large businesses with advanced and complex use cases that require bespoke solutions.

Feature comparison

FeatureCheckout Sessions APIPayment Intents API
DesignUse for complete checkout flows with line items, taxes, and shipping.Use for complex use cases that require granular payment control with custom business logic.
Tax calculationBuilt-in tax calculation with Stripe Tax.Requires a separate integration with the Tax API.
SubscriptionsBuilt-in subscription creation.Requires a separate integration with Subscriptions.
Coupons and discountsBuilt-in coupon and discount handling.Requires calculating discounts manually.
Shipping costsBuilt-in shipping cost calculation.Requires calculating shipping costs manually.
UI flexibilityHosted checkout page, embedded forms, and custom UI.Custom UI only.
Address collectionBuilt-in customer, billing, and shipping address collection.Requires handling addresses manually.
Order trackingBuilt-in order summary and receipt functionality.Requires implementing custom order tracking.
Amount updatesDynamic inventory and line item updates.Requires manually updating the amount.
Session expirationAutomatic expiration after 24 hours.No automatic expiration.
Webhook eventsWebhook events for the complete checkout lifecycle.Payment status events only.

See also

  • Checkout Sessions API
  • Payment Intents API
  • Build a checkout page with the Checkout Sessions API
  • Build a checkout page with the Payment Intents API
War diese Seite hilfreich?
JaNein
  • Benötigen Sie Hilfe? Kontaktieren Sie den Kundensupport.
  • Nehmen Sie an unserem Programm für frühzeitigen Zugriff teil.
  • Schauen Sie sich unser Änderungsprotokoll an.
  • Fragen? Sales-Team kontaktieren.
  • LLM? Lesen Sie llms.txt.
  • Unterstützt von Markdoc