Skip to main content
注文フローはセッションベースのチェックアウトパターンに従います:
  1. Create a checkout session — locks the product version, pricing, and currency
  2. Preview tax — calculates tax based on the customer’s billing details
  3. Create an order — initiates payment and returns a PSP-hosted checkout URL
  4. Cancel an order — cancels a pending (unpaid) order before payment completes

単発注文ステータス値

エンドポイント

チェックアウトセッションの作成

チェックアウト用に商品バージョンと価格を固定

税金プレビュー

注文作成前に税金を計算

単発注文のキャンセル

支払い前に保留中の注文をキャンセル