> For the complete documentation index, see [llms.txt](https://support.megadoga.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.megadoga.com/megadogasaptosaito/gonore/stripenitsuite.md).

# 決済代行会社「stripe」について

**動画販売機能をご利用いただく前に**

動画販売機能をご利用いただくには、決済代行会社への登録が必要となります。\
メガDOGAでは決済代行会社にstripe(<https://stripe.com/jp>)を利用致します。

### **stripe登録方法**

■stripe\
<https://stripe.com/jp>

上記URLよりご登録ください。登録費用は無料です。

<figure><img src="/files/JYoGMmAXoVDyYsTmb2HA" alt="" width="563"><figcaption><p>画像クリックで拡大</p></figcaption></figure>

<figure><img src="/files/Im2OEgSW7UXfMXgcMfUT" alt="" width="563"><figcaption><p>画像クリックで拡大</p></figcaption></figure>

### **業詳細の入力**

アカウントを有効化するため、事業情報を入力してください。

<figure><img src="/files/TXWz6zQqO1SHlEhgOcUh" alt="" width="563"><figcaption><p>画像クリックで拡大</p></figcaption></figure>

<figure><img src="/files/nRiNXldEmL5t9GjtVV0B" alt="" width="563"><figcaption><p>画像クリックで拡大</p></figcaption></figure>

**APIキーの取得**

<figure><img src="/files/AIJh4ehXzl8RnKSEYJLr" alt="" width="563"><figcaption><p>画像クリックで拡大</p></figcaption></figure>

画面右上の「開発者」をクリックし、左側メニューから「APIキー」をクリックします。

「公開可能キー」と「シークレットキー」が表示されますので、こちらを担当者までご連絡ください。

メガDOGAアカウントとの連携を行います。連携作業は即日～3営業日程度で対応可能です。

**「公開可能キー」と「シークレットキー」には本番用とテスト用の2種類ございます。**

* **本番用APIキー**\
  公開可能キー：pk\_live\_～はじまる文字列\
  シークレットキー：sk\_live\_～はじまる文字列\
  本番用のため実際のクレジットカード決済が可能な状態です。
* **テスト用APIキー**\
  公開可能キー：pk\_test\_～はじまる文字列\
  シークレットキー：sk\_test\_～はじまる文字列\
  テスト用のため、実際のクレジットカード決済はできず、テスト用クレジットカードでのみ購入が可能です。

{% hint style="danger" %} <mark style="color:red;">**サイト公開の動作確認について**</mark>\
Frontサイトを公開する前に、テスト用APIキーを使ってあらゆる動作確認を行い、\
**動作に問題がないことを確認してから本番用APIへ切り替えてください。**
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://support.megadoga.com/megadogasaptosaito/gonore/stripenitsuite.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
