PayPal Agent Toolkit
The PayPal Agent Toolkit enables popular agent frameworks including OpenAI's Agent SDK, LangChain, Vercel's AI SDK, and Model Context Protocol (MCP) to integrate with PayPal APIs through function calling. It includes support for TypeScript and is built on top of PayPal APIs and the PayPal SDKs.
Available tools
The PayPal Agent toolkit provides the following tools:
Invoices
create_invoice: Create a new invoice in the PayPal system, including recipient billing details, line items, an invoice note, a custom color theme, an optional shipping cost, and an option to enable PAY_BY_BANK as a payment methodlist_invoices: List invoices with optional pagination and filteringget_invoice: Retrieve details of a specific invoicesend_invoice: Send an invoice to recipientssend_invoice_reminder: Send a reminder for an existing invoicecancel_sent_invoice: Cancel a sent invoicegenerate_invoice_qr_code: Generate a QR code for an invoicedelete_invoice: Permanently delete a draft or scheduled invoicegenerate_invoice_number: Generate the next invoice number available to the merchantsearch_invoicing: Search for invoices or recurring invoice seriesupdate_invoicing: Update an existing invoice or recurring invoice series (full-replacement)cancel_invoice_auto_reminder: Cancel all scheduled automatic reminders for an invoicerecord_payment_for_invoice: Record an external or manual payment against an invoicerecord_refund_for_invoice: Record a refund against an invoicecreate_conditional_rules_for_invoice: Create conditional rules for an invoice, such as an early payment discount or automatic cancellation datecreate_recurring_series: Create a recurring invoice series that automatically generates and sends invoices on a scheduleactivate_recurring_series: Activate a draft recurring invoice seriesget_recurring_series: Retrieve details of a specific recurring invoice seriescancel_recurring_series: Cancel an active recurring invoice seriesdelete_recurring_series: Delete a draft recurring invoice series






