Skip to main content

Airbyte Stripe Connector for AI platforms

Project description

Stripe agent 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 for payment analytics and customer management.

Example questions

The Stripe connector is optimized to handle prompts like these.

  • 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

Unsupported questions

The Stripe connector isn't currently able to handle prompts like these.

  • Create a new customer profile in Stripe
  • Update the billing information for {customer}
  • Delete a customer record
  • Send a payment reminder to {customer}
  • Schedule an automatic invoice for {company}

Installation

uv pip install airbyte-agent-stripe

Usage

Connectors can run in open source or hosted mode.

Open source

In open source mode, you provide API credentials directly to the connector.

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_)>"
    )
)

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

Hosted

In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.

This example assumes you've already authenticated your connector with Airbyte. See Authentication to learn more about authenticating. If you need a step-by-step guide, see the hosted execution tutorial.

from airbyte_agent_stripe import StripeConnector

connector = StripeConnector(
    external_user_id="<your-scoped-token>",
    airbyte_client_id="<your-client-id>",
    airbyte_client_secret="<your-client-secret>"
)

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

Full documentation

This connector supports the following entities and actions.

Entity Actions
Customers List, Create, Get, Update, Delete, Api_search
Invoices List, Get, Api_search
Charges List, Get, Api_search
Subscriptions List, Get, Api_search
Refunds List, Create, Get
Products List, Create, Get, Update, Delete, Api_search
Balance Get
Balance Transactions List, Get
Payment Intents List, Get, Api_search
Disputes List, Get
Payouts List, Get

For all authentication options, see the connector's authentication documentation.

For detailed documentation on available actions and parameters, see this connector's full reference documentation.

For the service's official API docs, see the Stripe API reference.

Version information

  • Package version: 0.5.58
  • Connector version: 0.1.5
  • Generated with Connector SDK commit SHA: 416466da4970ae5fd6c7f2c658a68e047e51efd9

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airbyte_agent_stripe-0.5.58.tar.gz (257.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airbyte_agent_stripe-0.5.58-py3-none-any.whl (272.2 kB view details)

Uploaded Python 3

File details

Details for the file airbyte_agent_stripe-0.5.58.tar.gz.

File metadata

  • Download URL: airbyte_agent_stripe-0.5.58.tar.gz
  • Upload date:
  • Size: 257.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for airbyte_agent_stripe-0.5.58.tar.gz
Algorithm Hash digest
SHA256 0a614f57db9defa33824c08566eb34083a83460b9810783754b88f560f9c79cb
MD5 a6e77b60820188cc9d6bf5ab5982a590
BLAKE2b-256 733791f5b0689767bf9d7a09aad110ae099c90cc25771cf3d68d7c7990e5851c

See more details on using hashes here.

File details

Details for the file airbyte_agent_stripe-0.5.58-py3-none-any.whl.

File metadata

File hashes

Hashes for airbyte_agent_stripe-0.5.58-py3-none-any.whl
Algorithm Hash digest
SHA256 e031cf57054947ab64035760aa8a1c45686b4db8a31b3492a9e5217914c260d0
MD5 699df067578581aba00a669afe1a7c30
BLAKE2b-256 b2ffd6305b18935ac618382ff77aea0b147cd02b7cba2c2ab98a85f984b27c74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page