> For the complete documentation index, see [llms.txt](https://help.adalo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.adalo.com/ja/component-basics/marketplace-components/stripe/stripe-custom-actions/get-stripe-subscription-data.md). Agents can also search and read this documentation through its [MCP server](https://help.adalo.com/~gitbook/mcp).

# Stripeサブスクリプションデータを取得する

カスタムアクションを設定してサブスクリプションデータを取得/検証する方法のチュートリアル

## サブスクリプションのカスタムアクションを取得する

#### 1. Stripeサブスクリプションコンポーネントを選択する

![Stripeサブスクリプションコンポーネントを選択する](https://images.tango.us/public/screenshot_4b4b8e0a-e983-4aaf-92e3-4f7a4c51e5c4.png?fm=png\&crop=focalpoint\&fit=crop\&fp-x=0.8686\&fp-y=0.4463\&fp-z=2.7099\&w=1200\&mark-w=0.2\&mark-pad=0\&mark64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL21hZGUtd2l0aC10YW5nby13YXRlcm1hcmsucG5n\&ar=1712%3A1304)

#### 2. 新しいカスタムアクションを追加する

![新しいカスタムアクションを追加する](https://images.tango.us/public/screenshot_984f51dd-8f2e-44b6-b3b2-ba8d1f4a690a.png?fm=png\&crop=focalpoint\&fit=crop\&fp-x=0.1425\&fp-y=0.4670\&fp-z=2.4683\&w=1200\&mark-w=0.2\&mark-pad=0\&mark64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL21hZGUtd2l0aC10YW5nby13YXRlcm1hcmsucG5n\&ar=1712%3A1304)

#### 3. カスタムアクションの名前を入力し、タイプとして「作成」を選択する

![カスタムアクションの名前を入力し、タイプとして「作成」を選択する](https://images.tango.us/public/screenshot_81e62a6a-eb0d-416f-8114-bc93a554d152.png?fm=png\&crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.4202\&fp-z=1.5374\&w=1200\&mark-w=0.2\&mark-pad=0\&mark64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL21hZGUtd2l0aC10YW5nby13YXRlcm1hcmsucG5n\&ar=1712%3A1304)

#### 4. [Stripe APIリファレンスドキュメント](https://stripe.com/docs/api) で見つけたREST API情報を入力する

* **この例では、"**[**https://api.stripe.com/v1/subscriptions**](https://api.stripe.com/v1/subscriptions)**" を使用します**
  * メソッド - GET
  * ヘッダー - Authorization Bearer \[sk\_test\_YOUR API KEY]

![Stripe APIリファレンスドキュメントで見つけたREST API情報を入力する - https://stripe.com/docs/api](https://images.tango.us/public/screenshot_f2bebea6-cd2e-497f-ae44-6b412dd295e5.png?fm=png\&crop=focalpoint\&fit=crop\&fp-x=0.4016\&fp-y=0.5556\&fp-z=1.6709\&w=1200\&mark-w=0.2\&mark-pad=0\&mark64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL21hZGUtd2l0aC10YW5nby13YXRlcm1hcmsucG5n\&ar=1712%3A1304)

#### 5. 完了をクリックしてテストリクエストを実行する

![完了をクリックしてテストリクエストを実行する](https://images.tango.us/public/edited_image_635baf63-63b1-4a14-9a3c-2867f4761ea2.png?fm=png\&crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&mark-w=0.2\&mark-pad=0\&mark64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL21hZGUtd2l0aC10YW5nby13YXRlcm1hcmsucG5n\&ar=1712%3A1304)

#### 6. レスポンスを表示する

* ここから、使用するプロパティをより簡単に見つけるために、余分なプロパティをリネームまたは削除できます。

![レスポンスを表示する](https://images.tango.us/public/edited_image_d5eb8cd7-1012-4a0c-89f3-b2e52b3babed.png?fm=png\&crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=2.0000\&w=1200\&mark-w=0.2\&mark-pad=0\&mark64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL21hZGUtd2l0aC10YW5nby13YXRlcm1hcmsucG5n\&ar=1712%3A1304)

#### 7. カスタムアクションを保存する

![カスタムアクションを保存](https://images.tango.us/public/screenshot_cc157faf-2313-4b80-99d1-343d8d7f9c3f.png?fm=png\&crop=focalpoint\&fit=crop\&fp-x=0.7091\&fp-y=0.9417\&fp-z=2.8725\&w=1200\&mark-w=0.2\&mark-pad=0\&mark64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL21hZGUtd2l0aC10YW5nby13YXRlcm1hcmsucG5n\&ar=1712%3A1304)

#### 8. データを使用して新しいアクションを作成します！

* これで、この情報を使用してデータベース内のレコードを作成/更新できるようになります

![データを使用して新しいアクションを作成します！](https://images.tango.us/public/screenshot_78b7de3b-3d59-4ad8-929c-8a28166dfd20.png?fm=png\&crop=focalpoint\&fit=crop\&fp-x=0.3528\&fp-y=0.3447\&fp-z=1.4506\&w=1200\&mark-w=0.2\&mark-pad=0\&mark64=aHR0cHM6Ly9pbWFnZXMudGFuZ28udXMvc3RhdGljL21hZGUtd2l0aC10YW5nby13YXRlcm1hcmsucG5n\&ar=1712%3A1304)

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.adalo.com/ja/component-basics/marketplace-components/stripe/stripe-custom-actions/get-stripe-subscription-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
