Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.
VariableRequiredDescription
PAYPAL_CLIENT_IDYesPayPal REST app Client ID Docs.
PAYPAL_CLIENT_SECRETYesPayPal REST app Client Secret Docs.

Setup

  1. Create a REST app: Go to https://developer.paypal.com/dashboard/applications/live (or /sandbox for testing) and create an app. Copy the Client ID and Secret.
  2. Enable required features: In the app settings, enable ‘Transaction Search’ (required for List Transactions/Balances) and ‘Invoicing’. Newly enabled features can take a few minutes to propagate.
  3. Set environment variables: Add PAYPAL_CLIENT_ID and PAYPAL_CLIENT_SECRET to your .env.
  4. Verify access: Run List Balances. Access tokens are minted automatically via the OAuth2 client_credentials grant - no user login is involved.
  • This connector targets the live API (api-m.paypal.com). For sandbox testing, point a copy of the connector at api-m.sandbox.paypal.com with sandbox app credentials.
  • Transaction data can lag up to a few hours behind real-time; the reporting window per request is limited to 31 days.
Provider API reference: https://developer.paypal.com/api/rest/

Tools

ToolAccessDescription
List TransactionsReadSearch account transactions in a date window (max 31 days per request)
List BalancesReadGet current account balances by currency
List InvoicesReadList invoices
Get InvoiceReadGet details of an invoice
Get OrderReadGet details of a checkout order

Example prompts

  • List my PayPal transactions from the last 7 days and summarize totals by status.
  • Show my current PayPal balances by currency.