Weavz
PayPal

PayPal

Online payment platform for sending and receiving payments worldwide

OAuth2Finance
7 tools
3 triggers
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
create_order

Create a new PayPal checkout order

get_order

Get details of a PayPal order by ID

capture_payment

Capture payment for an approved order

refund_payment

Refund a captured payment

list_transactions

List transaction events within a date range

create_payout

Send a payout to a PayPal email address

custom_api_call

Make a custom API call to the PayPal API

Triggers

Name
new_payment

Triggers when a payment capture is completed

refund_issued

Triggers when a payment capture is refunded

dispute_created

Triggers when a customer dispute is created

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('paypal', 'create_order', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'paypal',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect PayPal to my app?

Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does PayPal support?

PayPal supports 7 tools including Create Order, Get Order, Capture Payment, Refund Payment, List Transactions, and more.

Can I use PayPal with AI agents?

Yes. Add PayPal to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

How do I connect PayPal to ChatGPT or Claude?

Open the Weavz connector setup, sign in, choose a workspace, and add PayPal as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped PayPal tools exposed by that workspace.

Does PayPal work with Claude Code, Cursor, Codex, and local agents?

Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved PayPal work, and execute Code Mode workflows from a terminal.

What can I ask an AI agent to do with PayPal?

PayPal exposes 7 tools, including Create Order, Get Order, Capture Payment, Refund Payment, List Transactions, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.

Can PayPal be used in stateful agent workflows?

Yes. Agents can combine PayPal tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does PayPal use?

PayPal uses OAuth2. Weavz stores OAuth credentials securely and refreshes tokens when supported by the provider.

How much does the PayPal integration cost?

The PayPal integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does PayPal support?

PayPal supports 3 triggers including New Payment, Refund Issued, Dispute Created.

Connect PayPal in minutes

Get 20,000 free action executions every month. No credit card required.