コンテンツにスキップ
アカウントを作成
または
サインイン
Stripe ドキュメントのロゴ
/
AI に質問する
アカウントを作成
サインイン
始める
支払い
財務の自動化
プラットフォームおよびマーケットプレイス
資金管理
開発者向けのツール
始める
支払い
財務の自動化
始める
支払い
財務の自動化
プラットフォームおよびマーケットプレイス
資金管理
概要
Stripe Payments について
構築済みのシステムをアップグレード
支払いの分析
オンライン決済
概要ユースケースを見つけるManaged Payments
Payment Links を使用する
決済ページを構築
高度なシステムを構築
アプリ内実装を構築
決済手段
決済手段を追加
    概要
    支払い方法の導入オプション
    ダッシュボードで支払い方法を管理
    決済手段のタイプ
    カード
    Stripe 残高で支払う
    銀行口座引き落とし
    銀行へのリダイレクト
    銀行振込
    クレジットトランスファー (Sources)
    後払い
    リアルタイム決済
    店舗支払い
      Boleto
        決済を受け付ける
        サブスクリプションで Boleto を使用する
        請求書で Boleto を使用する
      コンビニ決済
      Multibanco
      OXXO
    ウォレット
    国ごとに現地の支払い方法を有効化
    カスタムの決済手段
決済手段を管理
Link による購入の迅速化
支払いインターフェイス
Payment Links
Checkout
Web Elements
アプリ内 Elements
決済シナリオ
カスタムの決済フロー
柔軟なアクワイアリング
オーケストレーション
店頭支払い
端末
他の Stripe プロダクト
Financial Connections
仮想通貨
Climate
ホーム支払いAdd payment methodsVouchersBoleto

注

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

Boleto 支払い

ブラジルで一般的な支払い方法である Boleto を受け付ける方法をご紹介します。

ページをコピー

注意

Stripe は、顧客の通貨、決済手段の制限、その他のパラメーターを評価して、決済手段オプションを自動的に提示します。決済を受け付けるの手順を使用して、Stripe ダッシュボードから決済手段を設定することをお勧めします。

引き続き、Checkout で顧客に提示する決済手段を手動で設定する場合は、このガイドを使用します。それ以外の場合は、ダッシュボードで決済手段を設定できるように、構築済みのシステムを更新してください。

Boleto is a single use payment method where customers are required to take additional steps to complete their payment. Customers pay by using a Boleto voucher with a generated number either in ATMs, banks, bank portals or authorized agencies.

互換性を判断する

対応可能なビジネスの所在地: BR

対応可能な通貨: brl

取引通貨: brl

支払いモード: Yes

セットアップモード: No

サブスクリプションモード: No

Boleto 支払いに対応するには、Checkout セッションが次の条件をすべて満たしている必要があります。

  • すべてのラインアイテムの価格が、同じ通貨である必要があります。異なる通貨のラインアイテムが存在する場合は、通貨ごとに別の Checkout セッションを作成します。
  • 使用できるのは単一の項目だけです (継続的なサブスクリプションプランには対応していません)。

支払いを受け付ける

注

このガイドを使用する前に、まず Checkout で決済を受け付けるための実装を構築します。

Use this guide to learn how to enable Boleto—it shows the differences between accepting a card payment and using Boleto.

支払い方法として Boleto を有効にする

新しい Checkout セッションを作成する際は、以下を行う必要があります。

  1. boleto を payment_method_types のリストに追加します。
  2. すべての line_items が brl 通貨を使用していることを確認します。
Ruby
Stripe::Checkout::Session.create({ mode: 'payment', payment_method_types: ['card'], payment_method_types: ['card', 'boleto'], # The parameter is optional. The default value of expires_after_days is 3. payment_method_options: { boleto: { expires_after_days: 7 } }, line_items: [{ price_data: { # To accept `boleto`, all line items must have currency: brl currency: 'brl', product_data: { name: 'T-shirt', }, unit_amount: 2000, }, quantity: 1, }], success_url: 'https://example.com/success', cancel_url: 'https://example.com/cancel', })

その他の支払い方法オプション

You can specify an optional expires_after_days parameter in the payment method options for your Session that sets the number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher expires on Wednesday at 23:59 America/Sao_Paulo (UTC-3) time. If you set it to 0, the Boleto voucher expires at the end of the day. The expires_after_days parameter can be set from 0 to 60 days. The default is 3 days. You can customize the default expiration days on your account in the Payment methods settings

Stripe がオンラインで提供する取引の詳細ページにリダイレクトする

注

Unlike card payments, the customer won’t be redirected to the success_url with Boleto payment.

Checkout フォームの送信に成功すると、顧客は hosted_voucher_url にリダイレクトされます。顧客はオンラインの取引詳細ページから Boleto 番号をコピーしたり、支払い票の PDF をダウンロードしたりできます。

Stripe sends a payment_intent.requires_action event when a Boleto voucher is created successfully. If you need to email your customers the voucher link, you can locate the hosted_voucher_url in payment_intent.next_action.boleto_display_details. Learn more about how to monitor a PaymentIntent with webhooks.

Stripe では、ブランディング設定 ページで顧客に表示される UI をカスタマイズすることができます。取引の詳細には、以下のブランド設定を適用できます。

  • アイコン: ブランド画像と公開ビジネス名
  • アクセント— 番号コピーボタンのカラーとして使用されます
  • ブランドカラー: 背景色として使用されます

注文のフルフィルメントを行う

Because Boleto is a delayed notification payment method, you need to use a method such as webhooks to monitor the payment status and handle order fulfillment. Learn more about setting up webhooks and fulfilling orders.

支払いのステータスに変化があると、以下のイベントが送信されます。

イベント名説明次のステップ

checkout.session.completed

顧客が Checkout フォームの送信を完了しました。Stripe が Boleto 支払い向けに取引の詳細を生成しています。

顧客が Boleto の取引の詳細を紛失した場合に備え、顧客に hosted_voucher_url をメールで送信することもできます。

顧客が Boleto の支払いを行うのを待っています。

checkout.session.async_payment_succeeded顧客は Boleto の支払いを完了しました。PaymentIntent が succeeded に移行します。顧客が購入した商品またはサービスのフルフィルメントを行います。
checkout.session.async_payment_failedBoleto 支払いの有効期限が切れたか、その他の理由で支払いが失敗しました。PaymentIntent のステータスは requires_payment_method に戻ります。Contact the customer through email and request that they place a new order.

組み込みをテストする

Checkout の組み込みをテストする際は、支払い方法として Boleto を選択して、支払うボタンをクリックします。

メールアドレス説明

{any_prefix}@{any_domain}

顧客が 3 分後に支払い、約 3 分後に payment_intent.succeeded Webhook を受信する Boleto の支払いをシミュレーションします。本番環境では、1 営業日後にこの Webhook が届きます。

例: fulaninho@example.com

{any_prefix}succeed_immediately@{any_domain}

顧客が即座に支払い、数秒以内に payment_intent.succeeded Webhook を受信する Boleto の支払い方法をシミュレーションします。本番環境では、1 営業日後にこの Webhook が届きます。

例: succeed_immediately@example.com

{any_prefix}expire_immediately@{any_domain}

顧客が支払う前に期限切れになり、数秒以内に payment_intent.payment_failed Webhook を受信する Boleto の支払いをシミュレーションします。

The expires_at field in next_action.boleto_display_details is set to the current time regardless of what the expires_after_days parameter in payment method options is set to.

例: expire_immediately@example.com

{any_prefix}expire_with_delay@{any_domain}

顧客が支払う前に期限切れになり、約 3 分後に payment_intent.payment_failed Webhook を受信する Boleto の支払いをシミュレーションします。

The expires_at field in next_action.boleto_display_details is set to 3 minutes in the future regardless of what the expires_after_days parameter in payment method options is set to.

例: expire_with_delay@example.com

{any_prefix}fill_never@{any_domain}

Simulates a Boleto voucher which never succeeds; it expires according to the expires_at field in next_action.boleto_display_details per the provided parameters in the payment method options and the payment_intent.payment_failed webhook arrives after that.

例: fill_never@example.com

納税者番号説明

CPF 000.000.000-00

CNPJ 00.000.000/0000-00

In a sandbox, set tax_id to these values, so they bypass the tax ID validation.

返金を処理する

Boleto での支払いは返金できません。一部の加盟店では、直接問い合わせた顧客にクレジットを提供するプロセスを別途作成しています。

不審請求の申請を処理する

Boleto での支払いに関して、顧客が不審請求を申請することはできません。

オプション支払い手順メールを送信する

参照情報

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