Stripe Connector for AI Agents

Give agents tools for secure, real-time access to fetch, search, write, and sync across every system, with replication, entity mapping, and auth built-in.

20,000+
community members
6,000+
daily active companies
2PB+
synced/month
900+
contributors

About this Connector

Stripe is a payment processing platform that enables businesses to accept payments, manage subscriptions, and handle financial transactions. This connector provides access to customers, charges, invoices, subscriptions, and more for payment analytics and customer management.

CRM

Sales Analytics

Customer Data

payments, billing, financial data

Version Information

Package version

0.5.104

Connector version

0.1.9

SDK commit

cb4380e76ac5cbc67b9089f94522be1bbe9f8d73

Support Open Source

Check us out on Github and join the Airbyte community

Github

Installation & Usage

Get started with the Stripe connector in minutes

1

Install Package

Using uv or pip

bash

Copy
uv pip install airbyte-agent-stripe

2

Import

Initialize and use

python

Copy
from airbyte_agent_stripe import StripeConnector
from airbyte_agent_stripe.models import StripeAuthConfig

connector = StripeConnector(
    auth_config=StripeAuthConfig(
        api_key="<Your Stripe API Key (starts with sk_test_ or sk_live_)>"
    )
)

3

Tool

Add tools to your agent

python

Copy
@agent.tool_plain # assumes you're using Pydantic AI
@StripeConnector.tool_utils
async def stripe_execute(entity: str, action: str, params: dict | None = None):
    return await connector.execute(entity, action, params or {})

Supported Entities & Actions

Access all your Stripe data through a unified API

Lorem ipsum

Lorem ipsum

| Entity | Actions |\n|--------|---------|\n| Customers | [List](./REFERENCE.md#customers-list), [Create](./REFERENCE.md#customers-create), [Get](./REFERENCE.md#customers-get), [Update](./REFERENCE.md#customers-update), [Delete](./REFERENCE.md#customers-delete), [API Search](./REFERENCE.md#customers-api_search), [Search](./REFERENCE.md#customers-search) |\n| Invoices | [List](./REFERENCE.md#invoices-list), [Get](./REFERENCE.md#invoices-get), [API Search](./REFERENCE.md#invoices-api_search), [Search](./REFERENCE.md#invoices-search) |\n| Charges | [List](./REFERENCE.md#charges-list), [Get](./REFERENCE.md#charges-get), [API Search](./REFERENCE.md#charges-api_search), [Search](./REFERENCE.md#charges-search) |\n| Subscriptions | [List](./REFERENCE.md#subscriptions-list), [Get](./REFERENCE.md#subscriptions-get), [API Search](./REFERENCE.md#subscriptions-api_search), [Search](./REFERENCE.md#subscriptions-search) |\n| Refunds | [List](./REFERENCE.md#refunds-list), [Create](./REFERENCE.md#refunds-create), [Get](./REFERENCE.md#refunds-get), [Search](./REFERENCE.md#refunds-search) |\n| Products | [List](./REFERENCE.md#products-list), [Create](./REFERENCE.md#products-create), [Get](./REFERENCE.md#products-get), [Update](./REFERENCE.md#products-update), [Delete](./REFERENCE.md#products-delete), [API Search](./REFERENCE.md#products-api_search) |\n| Balance | [Get](./REFERENCE.md#balance-get) |\n| Balance Transactions | [List](./REFERENCE.md#balance-transactions-list), [Get](./REFERENCE.md#balance-transactions-get) |\n| Payment Intents | [List](./REFERENCE.md#payment-intents-list), [Get](./REFERENCE.md#payment-intents-get), [API Search](./REFERENCE.md#payment-intents-api_search) |\n| Disputes | [List](./REFERENCE.md#disputes-list), [Get](./REFERENCE.md#disputes-get) |\n| Payouts | [List](./REFERENCE.md#payouts-list), [Get](./REFERENCE.md#payouts-get) |

Example Prompts

The Stripe connector is optimized to handle prompts like these

Lorem ipsum

List customers created in the last 7 days - Show me details for a recent customer - List recent charges - Show me details for a recent charge - List recent invoices - List active subscriptions - Show me my top 10 customers by total revenue this month - List all customers who have spent over $5,000 in the last quarter - Analyze payment trends for my Stripe customers - Identify which customers have the most consistent subscription payments - Give me insights into my customer retention rates - Summarize the payment history for \{customer\} - Compare customer spending patterns from last month to this month - Show me details about my highest-value Stripe customers - What are the key financial insights from my customer base? - Break down my customers by their average transaction value

Why Airbyte for AI Agents?

Built for production AI workloads with enterprise-grade reliability

Agent-Native Design

Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.

Secure Authentication

Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.

Production Ready

Battle-tested connectors with comprehensive error handling, logging, and retry logic.

Open Source

Fully open source under the MIT license. Contribute, customize, and extend freely.

Works with your favorite frameworks

Use the Stripe connector with any AI agent framework

🦜

LangChain

🦙

LlamaIndex

🤖

CrewAI

AutoGen

🧠

OpenAI Agents SDK

🔮

Claude Agents SDK

Frequently Asked Questions

Didn't find your answer? Please don't hesitate to reach out.

How do I authenticate with Stripe?

The Stripe connector supports two authentication methods: Open source mode, where you provide a Stripe API key directly (starting with sktest or sklive); and Hosted mode, where credentials are stored securely in Airbyte Cloud and you authenticate using your Airbyte client ID, client secret, customer name, and optional organization ID.

Can I use this connector with any AI agent framework?

The connector is compatible with any Python-based AI agent framework including LangChain, LlamaIndex, CrewAI, Pydantic AI, and custom implementations.

Does this connector support write operations?

The connector is primarily optimized for read operations such as listing and retrieving customers, charges, invoices, and subscriptions. Write operations like creating new customer profiles, updating billing information, deleting customers, sending payment reminders, or scheduling invoices are explicitly listed as unsupported.

How is this different from the Airbyte data connector?

Agent connectors are specifically designed for AI agents and LLM applications. They provide natural language interfaces, optimized response formats, and seamless integration with agent frameworks, unlike traditional ETL-focused connectors.

Will there be a platform for agent connectors?

The hosted version with secure credential storage through Airbyte Cloud is already available. See the hosted usage section in the documentation for setup instructions.

20,000+
community members
6,000+
daily active companies
2PB+
synced/month
900+
contributors