コンテンツにスキップ
アカウントを作成
または
サインイン
Stripe ドキュメントのロゴ
/
AI に質問する
アカウントを作成
サインイン
始める
支払い
売上
プラットフォームおよびマーケットプレイス
資金管理
開発者向けリソース
概要
Stripe Payments について
構築済みのシステムをアップグレード
支払いの分析
オンライン決済
概要ユースケースを見つけるUse Managed Payments
Payment Links を使用する
構築済みの決済ページを使用する
Build a custom integration with Elements
    概要
    Compare Checkout Sessions and PaymentIntents
    Quickstart guides
    高度なシステムを設計
    デザインをカスタマイズする
    決済手段を管理
    追加情報を収集する
    サブスクリプションの実装
    Dynamic updates
    割引を追加する
    支払いで税金を徴収
    顧客が現地通貨で支払いできるようにする
    顧客の支払い方法を保存および取得する
    領収書と支払い済みの請求書を送信する
    サーバーで支払いを手動で承認する
    支払いのオーソリとキャプチャーを分離する
    Elements with Checkout Sessions API ベータ版の変更ログ
アプリ内実装を構築
決済手段
決済手段を追加
決済手段を管理
Link による購入の迅速化
支払いインターフェイス
Payment Links
Checkout
Web Elements
アプリ内決済
決済シナリオ
複数の通貨を扱う
カスタムの決済フロー
柔軟なアクワイアリング
オーケストレーション
店頭支払い
端末
決済にとどまらない機能
会社を設立する
仮想通貨
Financial Connections
Climate
不正利用について
Radar の不正防止
不審請求の申請の管理
本人確認
ホーム支払いBuild a custom integration with Elements

注

このページはまだ日本語ではご利用いただけません。より多くの言語で文書が閲覧できるように現在取り組んでいます。準備が整い次第、翻訳版を提供いたしますので、もう少しお待ちください。

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.

注

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
このページはお役に立ちましたか。
はいいいえ
  • お困りのことがございましたら 、サポートにお問い合わせください。
  • 早期アクセスプログラムにご参加ください。
  • 変更ログをご覧ください。
  • ご不明な点がございましたら、お問い合わせください。
  • LLM ですか?llms.txt を読んでください。
  • Powered by Markdoc