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

注

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

メール領収書

領収書と支払い済みの請求書を自動的に送信します。

You can manually or automatically send customized email receipts or paid invoices. Learn more about receipts for payments.

Automatically send receipts

To enable automated receipts, toggle Successful payments on in your Customer emails settings. Receipts are only sent for a successful payment. Receipts aren’t sent for failed or declined payments.

領収書をカスタマイズする

領収書のデザインと機能を、以下のカスタマイズオプションで変更します。

  • ブランディング: ロゴと色をブランディング設定で変更します。カスタムロゴの画像ファイルサイズの上限は 512KB です。理想的には、128 x 128 ピクセルより大きい正方形のロゴ画像を使用してください。サポートされるファイル形式は、JPG、PNG、GIF です。
  • 公開情報: 公開情報の設定で、電話番号やウェブサイトアドレスなど、含める公開情報を指定します。

カスタムテキストを表示するには、Checkout セッション の payment_intent_data.description 属性を使用します。たとえば、次のようなものがあります。

  • 提供された商品またはサービスの説明
  • 認証コード
  • サブスクリプション情報
  • キャンセルポリシー

メール領収書のリアルタイムのプレビューは、ダッシュボードのブランディング設定ページで確認できます。テストの領収書を送信するには、プレビュー画像の上にマウスを合わせてテスト領収書を送信をクリックし、メールアドレスを入力します。

注意

領収書は、PaymentIntent の確定時に生成された Charge オブジェクトからデータを取得します。Charge が生成された後に description 値などの領収書データを更新するには、Charge を更新する必要があります。確定済みの PaymentIntent への変更は、領収書には表示されません。

Automatically send paid invoices

In addition to ordinary receipts, you can configure the Checkout Session to generate paid invoices as proof of payment. Invoices have more information than receipts. For subscriptions, Stripe generates invoices automatically, but for one-time payments, you need to enable them.

注

Checkout Sessions API を使用した、1 回限りの支払いに対する請求書の作成は、Invoicing の機能ではないため別途料金がかかります。詳細については、こちらのサポート記事をご覧ください。

To generate invoices, select Successful payments under Email customers about in your Customer emails settings. Then, set invoice_creation[enabled] to true when creating a Checkout Session.

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/checkout/sessions \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d mode=payment \ -d "invoice_creation[enabled]"=true \ -d "line_items[0][price]"={{ONE_TIME_PRICE_ID}} \ -d "line_items[0][quantity]"=1 \ -d ui_mode=custom \ --data-urlencode return_url="https://example.com"

After the payment completes, Stripe sends an invoice summary with links to download the invoice PDF and invoice receipt to the email address your customer provides during checkout.

注意

Invoices for delayed notification payment methods might take longer to send because we send the invoice after successful payment, not when the checkout session completes. These payment methods include Bacs Direct Debit, Bank transfers, Boleto, Canadian pre-authorized debits, Konbini, OXXO, Pay by Bank, SEPA Direct Debit, SOFORT, and ACH Direct Debit.

Screenshot of the invoice PDF that customers can download from the invoice summary email

The downloadable invoice PDF

Screenshot of the invoice receipt that customers can download from the invoice summary email

The downloadable invoice receipt

Screenshot of the invoice summary email Stripe sends

The customer email with links to the invoice PDF and receipt

You can also view the invoice in the Dashboard or access it programmatically by listening to the invoice.paid event through an event destination.

You can use the invoice_data hash inside invoice_creation to further customize the invoice generated by the Checkout Session.

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/checkout/sessions \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d mode=payment \ -d "invoice_creation[enabled]"=true \ -d "invoice_creation[invoice_data][description]"="Invoice for Product X" \ -d "invoice_creation[invoice_data][metadata][order]"=order-xyz \ -d "invoice_creation[invoice_data][account_tax_ids][0]"=DE123456789 \ -d "invoice_creation[invoice_data][custom_fields][0][name]"="Purchase Order" \ -d "invoice_creation[invoice_data][custom_fields][0][value]"=PO-XYZ \ -d "invoice_creation[invoice_data][rendering_options][amount_tax_display]"=include_inclusive_tax \ -d "invoice_creation[invoice_data][footer]"="B2B Inc." \ -d "line_items[0][price]"={{ONE_TIME_PRICE_ID}} \ -d "line_items[0][quantity]"=1 \ -d ui_mode=custom \ --data-urlencode return_url="https://example.com"

Review invoice best practices for your region to make sure you’re collecting the right information from your customers. Information like the customer’s billing and shipping addresses, phone number, and tax ID appear on the resulting invoice.

Localization

When using Checkout Sessions, the language of the receipt and invoice is determined by several factors:

  • If you set a Customer, their preferred locale is used if available.
  • If you set a Customer without any preferred locales, we apply the language setting from the Dashboard.
このページはお役に立ちましたか。
はいいいえ
  • お困りのことがございましたら 、サポートにお問い合わせください。
  • 早期アクセスプログラムにご参加ください。
  • 変更ログをご覧ください。
  • ご不明な点がございましたら、お問い合わせください。
  • LLM ですか?llms.txt を読んでください。
  • Powered by Markdoc