コンテンツにスキップ
アカウントを作成
または
サインイン
Stripe ドキュメントのロゴ
/
AI に質問する
アカウントを作成
サインイン
始める
支払い
売上
プラットフォームおよびマーケットプレイス
資金管理
開発者向けリソース
概要
Billing
概要Billing API について
サブスクリプション
Invoicing
従量課金
見積もり
顧客管理
Billing と他のプロダクトの連携
売上回収
オートメーション
実装内容をテストする
税金
概要
Stripe tax を使用
法規制の遵守・対応管理
レポート機能
概要
レポートの選択
レポートを設定
Reports API
複数のアカウントのレポート
収益認識
データ
概要
ビジネスと商品データのユースケース
スキーマデータの鮮度
Sigma
Data Pipeline
    概要
    Data Pipeline の仕組み
    データウェアハウスにデータをエクスポート
    クラウドストレージにデータをエクスポート
      Google Cloud Storage にデータをエクスポート
      AWS S3 ストレージにデータをエクスポート
      Azure Blob Storage にデータをエクスポート
      クラウドストレージの接続の問題を診断
      クラウドストレージファイルの編成
    エクスポートのカスタマイズ
外部データをインポート
ホーム売上Data PipelineExport data to cloud storage

注

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

Export data to Google Cloud Storage

Automate recurring data exports from Stripe to your Google Cloud Storage.

Google Cloud Storage destination

Data pipeline can deliver all your Stripe data as Parquet files into your Google Cloud Storage (GCS) bucket. It includes a directory of files for each table, which is delivered and updated every 3 hours.

動画コンテンツの読み込み中...

Prerequisites

Before starting the integration, make sure you have access and permission to:

  1. Create a Google Cloud Storage bucket.
  2. Create a service account enabling Stripe to create objects in the provisioned bucket.
  3. Access the Stripe Dashboard as an admin.

Select Your Google Cloud Project

  1. Navigate to the Google Cloud Console.
  2. Select the project that you want to send your Stripe data to.

Create a new Service Account and generate a JSON key

  1. On the Service Accounts page, make sure you’re in the correct Google Cloud Project.
  2. Click + CREATE SERVICE ACCOUNT.
  3. Enter a name for the service account, for example, “<name>-stripe-data-pipeline.”
  4. Add a description—for example, “This role gives Stripe access to upload data files to our bucket.”
  5. Click CREATE AND CONTINUE.
  6. In the Select a Role dropdown, add three roles: Storage Object User, Storage Object Creator, and Storage Insights Collector Service.
  7. Click DONE.
  8. For your new Service Account, click Manage keys in the Actions menu.
  9. Click ADD KEY ▾ and select Create new key.
  10. Choose Key type JSON and click CREATE. The JSON file downloads to your device.

Create a New Bucket

  1. Make sure you’re in the correct Google Cloud project by navigating to Cloud Storage > Buckets in the Google Cloud console.
  2. Click + CREATE.
  3. In the Name field, we recommend a name including “stripe,” such as “<name>-stripe-data.”
  4. For the Location type, we recommend Multi-Regional US.
  5. For the Storage class, we recommend Set a default class - Standard.
  6. For the Access Control, choose Prevent public access with Uniform access control.
  7. Click CREATE button to create the bucket.
  8. Select the PERMISSIONS tab for your newly created bucket.
  9. Under Permissions in the VIEW BY PRINCIPAL tab, select the box next to the Service Account you created in the previous step.

注意

Setting a retention policy on your bucket might cause the data exports to fail, because it restricts the ability to delete or override files in the bucket.

オプションGenerate encryption keys

Stripe offers the ability to encrypt data transfers from Stripe to your storage bucket using PGP encryption with a customer-owned key. This provides an additional layer of protection, ensuring your data remains secure in transit and at rest.

While you can disable PGP encryption, doing so increases the risk of data exposure if you misconfigure something or if unauthorized parties access your bucket. Keeping encryption enabled ensures your data has the highest level of protection.

  1. Open the command line interface (terminal).
  2. Execute the command gpg --full-generate-key to create a key pair.
  3. When prompted, select your preferred type, size, and expiration of the key. We suggest:
    • Kind: (1) RSA and RSA (default)
    • Bit Length: 4096
    • Key is valid for: 0 (doesn’t expire)
  4. Confirm this is correct by typing y and pressing Enter.
  5. Find your account ID (acct_1234) at Settings > Business > Account Details and enter it as the real name. Leave the email and comments blank.
  6. Type “O” and click Enter to confirm.
  7. At the passphrase prompt, don’t enter one. Instead, press Enter and select “Yes, protection is not needed.” Repeat this step to confirm your choice.
  8. In the output in your command line interface (terminal), locate the key you just generated and note the key ID (the long hexadecimal string at the end of the pub line).
  9. To export the public key, enter the command gpg --output acct_1234.key --armor --export your-key-id, replacing your-key-id with the hexadecimal key ID you found in the previous step.
  10. The public key file (acct_1234.key) is now saved in the current directory.

注

Stripe encrypts your data with a key you provide, and you decrypt in google cloud stroage.

Establishing your Google Cloud Storage connection

  1. Visit the Data Pipeline Dashboard.
  2. Click Get started.
  3. Select the Google Cloud Storage logo and click Continue ->. This step generates a bucket name.
  4. Enter the bucket name generated in the previous step.
  5. Upload your Service Account .json file generated earlier.
  6. Select your data encryption option. If you chose to use a customer managed key, upload your public key.
  7. Click the Next button. Clicking this button sends test data to the bucket you provided, but not production data.
  8. When you confirm test data delivery, go to your Cloud Storage bucket.
  9. Open the bucket, go to the penny_test directory, and open the acct_ or org_ prefixed sub-directory to locate the delivered account_validation.csv test file.
  10. Click the account_validation.csv file.
  11. Click DOWNLOAD.
  12. Click the Upload the test value file and upload the downloaded account_validation.csv.
  13. Click Confirm value.
  14. When you confirm the test value, click Subscribe. This subscribes you to the product and schedules the initial full load of data for delivery to your Google Cloud Storage bucket, a process that can take 6-12 hours.

*Google Cloud Storage is a trademark of Google LLC.

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