---
title: Stripe
---

>[Stripe](https://stripe.com/en-ca)는 아일랜드계 미국 금융 서비스 및 SaaS(Software as a Service) 회사입니다. 전자상거래 웹사이트와 모바일 애플리케이션을 위한 결제 처리 소프트웨어 및 application programming interface를 제공합니다.

이 노트북은 `Stripe REST API`에서 데이터를 로드하여 LangChain에 수집할 수 있는 형식으로 변환하는 방법과 벡터화를 위한 사용 예제를 다룹니다.

```python
from langchain.indexes import VectorstoreIndexCreator
from langchain_community.document_loaders import StripeLoader
Stripe API는 access token이 필요하며, 이는 Stripe dashboard 내에서 찾을 수 있습니다. 이 document loader는 로드하려는 데이터를 정의하는 resource 옵션도 필요합니다. 다음 resource들을 사용할 수 있습니다: balance_transations Documentation charges Documentation customers Documentation events Documentation refunds Documentation disputes Documentation
stripe_loader = StripeLoader("charges")
# Create a vectorstore retriever from the loader
# see https://python.langchain.com/en/latest/modules/data_connection/getting_started.html for more details

index = VectorstoreIndexCreator().from_loaders([stripe_loader])
stripe_doc_retriever = index.vectorstore.as_retriever()

---

<Callout icon="pen-to-square" iconType="regular">
    [Edit the source of this page on GitHub.](https://github.com/langchain-ai/docs/edit/main/src/oss/python/integrations/document_loaders/stripe.mdx)
</Callout>
<Tip icon="terminal" iconType="regular">
    [Connect these docs programmatically](/use-these-docs) to Claude, VSCode, and more via MCP for    real-time answers.
</Tip>
I