Installation & Usage
[01]
Install Package
Using uv or pip
BASH
uv pip install airbyte-agent-paypal-transaction
[02]
Import
Initialize and use
PYTHON
from airbyte_agent_paypal_transaction import PaypalTransactionConnector
from airbyte_agent_paypal_transaction.models import PaypalTransactionAuthConfig
connector = PaypalTransactionConnector(
auth_config=PaypalTransactionAuthConfig(
client_id="<The Client ID of your PayPal developer application.>",
client_secret="<The Client Secret of your PayPal developer application.>",
access_token="<OAuth2 access token obtained via client credentials grant. Use the PayPal token endpoint with your client_id and client_secret to obtain this.
>"
)
)[03]
Tool
Add tools to your agent
python
@agent.tool_plain # assumes you're using Pydantic AI
@PaypalTransactionConnector.tool_utils
async def paypal_transaction_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})Supported Entities & Actions
Lorem ipsum
Lorem ipsum
| Entity | Actions |\n|--------|---------|\n| Balances | [List](./REFERENCE.md#balances-list), [Search](./REFERENCE.md#balances-search) |\n| Transactions | [List](./REFERENCE.md#transactions-list), [Search](./REFERENCE.md#transactions-search) |\n| List Payments | [List](./REFERENCE.md#list-payments-list), [Search](./REFERENCE.md#list-payments-search) |\n| List Disputes | [List](./REFERENCE.md#list-disputes-list), [Search](./REFERENCE.md#list-disputes-search) |\n| List Products | [List](./REFERENCE.md#list-products-list), [Search](./REFERENCE.md#list-products-search) |\n| Show Product Details | [Get](./REFERENCE.md#show-product-details-get), [Search](./REFERENCE.md#show-product-details-search) |\n| Search Invoices | [List](./REFERENCE.md#search-invoices-list), [Search](./REFERENCE.md#search-invoices-search) |
Example Prompts
Lorem ipsum
List all balances for my PayPal account - Show recent transactions from the last 7 days - List all catalog products - Show details for a specific product - List all disputes - Show recent payments - What transactions had the highest amounts last month? - Find all declined transactions - Show disputes grouped by status - What is the total balance across all currencies?
Why Airbyte for AI Agents?
Built for production AI workloads with enterprise-grade reliability
Secure Authentication
Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.
Agent-Native Design
Heading
Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.
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
LangChain
CrewAI
LlamaIndex
AutoGen
OpenAI Agents SDK
Claude Agents SDK
Frequently Asked Questions
Didn't find your answer? Please don't hesitate to reach out.
The paypal-transaction connector supports OAuth2 client credentials authentication. You provide a Client ID, Client Secret, and an OAuth2 access token obtained via the client credentials grant using the PayPal token endpoint. In hosted mode, credentials are stored securely in Airbyte Cloud and you authenticate using your Airbyte client credentials instead.
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?
Currently, the paypal-transaction connector focuses on read operations only. Write operations such as creating payments, refunding transactions, deleting disputes, or updating product details are not supported at this time.
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.
Get started in minutes with our open-source connector.