コンテンツにスキップ
アカウントを作成
または
サインイン
Stripe ドキュメントのロゴ
/
AI に質問する
アカウントを作成
サインイン
始める
支払い
売上
プラットフォームおよびマーケットプレイス
資金管理
開発者向けリソース
概要
導入を開始
事業で活用する
即時通貨換算
グローバル入金
Capital
プラットフォームに組み込む
Financial Accounts for platforms
    概要
    How Financial Accounts for platforms works
    利用資格要件
    始める
    API の使用を開始
    ユーザーのアカウント登録
    不正利用の管理
    マーケティングおよび法令遵守ガイドライン
    導入のサンプル
    Set up financial accounts and cards
    Use Financial Accounts for platforms to move money
    Sample application with Issuing and Financial Accounts for platforms
    Financial Accounts for platforms with Issuing
    Webhook
    カードを管理
    アカウント管理
    Accounts structure
    連結アカウントの使用
    金融口座を使用する
    金融アカウントの機能
    プラットフォームの金融アカウント
    残高と取引の使用
    資金移動
    Stripe Payments からの入金とトップアップ
    SetupIntent、PaymentMethod、BankAccount を使用する
    金融アカウントに資金を移動する
    金融アカウントから資金を移動する
      Moving money using OutboundTransfer objects
      Moving money using OutboundPayment objects
      Moving money using ReceivedDebit objects
      Moving money using DebitReversal objects
    資金移動のタイムライン
    銀行パートナー
    Fifth Third Bank の概要
    Fifth Third Bank の使用を開始
カードを発行する
プラットフォーム向けの Capital
ホーム資金管理Financial Accounts for platformsMoving money out of financial accounts

注

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

ReceivedDebit オブジェクトを使用して Treasury で送金

外部の口座保有者が Treasury の金融口座から資金を引き出す方法をご紹介します。

Certain processes initiated outside of Financial Accounts for platforms result in money being pulled out of a financial account. This includes:

  • Spending money on a card through Stripe Issuing
  • ACH デビットを使用して、金融口座から資金を引き出し、外部口座に追加する
  • Pulling money out of a platform’s financial account into that platform’s Stripe Payments balance using top-ups

このような資金を移動すると、ReceivedDebit オブジェクトが作成されます。ご自身で直接 ReceivedDebits を作成することはなく、Webhook を使用して ReceivedDebit オブジェクトが作成されるのを監視します。アカウントに十分な資金がなければ、ほとんどの場合 ReceivedDebit は失敗します。

ReceivedDebit を取得する

GET /v1/treasury/received_debits/{{RECEIVED_DEBIT_ID}} を使用して、関連付けられた ID の ReceivedDebit を取得します。

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/treasury/received_debits/{{RECEIVED_DEBIT_ID}} \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -H "Stripe-Account:
{{CONNECTED_ACCOUNT_ID}}
"

成功すると、関連付けられた ID の ReceivedDebit オブジェクトがレスポンスで返されます。 レスポンスの一部のパラメーターには、expand[] パラメーターに値として追加した場合にのみ返される追加情報があります。次のレスポンス例で、拡張できるフィールドには、「Expandable」コメントが付いています。オブジェクトレスポンスの拡張の詳細については、レスポンスを拡張するをご覧ください。

JSON (コメント付き)
JSON
No results
{ "id": "{{RECEIVED_DEBIT_ID}}", "object": "received_debit", "livemode": Boolean, "created": Timestamp, // The FinancialAccount funds have been pulled from "financial_account": "{{FINANCIAL_ACCOUNT_ID}}", // Expandable "amount": 1000, "currency": "usd", "description": "Testing",

ReceivedDebit を一覧表示する

GET /v1/treasury/received_debits を使用して特定の金融口座のすべての ReceivedDebits を取得します。financial_account パラメーターには金融口座 ID を指定する必要があります。標準のリストパラメーターまたは status で結果をフィルタリングできます。

{ // Standard list parameters "limit", "starting_after", "ending_before", // Filter by FinancialAccount (Required) "financial_account": "{{FINANCIAL_ACCOUNT_ID}}", // Filter by status "status": "succeeded" | "failed" }

以下のリクエストは、特定された金融口座に対する指定された ReceivedDebit 以前に発生した、最後の成功した ReceivedDebit オブジェクト を取得します。

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl -G https://api.stripe.com/v1/treasury/received_debits \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -H "Stripe-Account:
{{CONNECTED_ACCOUNT_ID}}
"
\ -d financial_account=
{{FINANCIAL_ACCOUNT_ID}}
\ -d limit=1 \ -d ending_before={{RECEIVED_DEBIT_ID}}

ReceivedDebit をテストする

Financial Accounts for platforms provides test endpoints for ReceivedDebit objects. In testing environments, use POST /v1/test_helpers/treasury/received_debits to simulate ReceivedDebit creation. You can’t create ReceivedDebit objects in live mode, so using this endpoint enables you to test the flow of funds when a third party initiates creation of a ReceivedDebit. Set financial_account to the ID of the financial account to send money from. Set network to ach and optionally provide the ABA financial address details for the source_details.aba parameter. As in live mode, test ReceivedDebits fail if there are insufficient funds available.

ReceivedDebit Webhook

Stripe は、以下の ReceivedDebit イベントを Webhook エンドポイントに送信します。

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