Skip to content

PayPal

Needs onboarding Needs a partner agreement with the vendor, or a client's environment, before it can be built or certified.

Reads a PayPal account’s balances and its transactions, so finance agents can reconcile sales, fees and refunds against the books. It is read-only, and it refuses an app that can take payments, refund or pay out. It reads in place, in your deployment; only ids, hashes and counts reach LightHouse.

Built against the PayPal Transaction Search API v1.

CollectorPayPal, version 0.1.0
ReadsPayPal: PayPal REST API (Transaction Search v1) (the vendor's documentation)
FamilyFinance
KindPayments
Ways to connectOAuth approval
Scopes
  • Read: https://uri.paypal.com/services/reporting/search/read, https://uri.paypal.com/services/reporting/balances/read
Read onlyYes, except: [object Object]
Vendor's API can move moneyYes
Personal dataFinancial
Hosts it may contactapi-m.paypal.com, api-m.sandbox.paypal.com, uri.paypal.com, {host}
Vendor API versionsTransaction Search API v1 (/v1/reporting), OAuth 2.0 token (/v1/oauth2/token)
Lowest engine version0.47.1
  • Balances: total, available and withheld, one record per currency, with whether it is the primary currency and when PayPal last refreshed it; rewritten when it changes and removed when the currency disappears.
  • Transactions: the balance-affecting transactions, each with its amount and fee, event code, status, initiation and update times, the reference transaction (for a refund or reversal), the invoice id, the subject and the instrument type.
  • Transactions are read in windows of at most 31 days (PayPal’s limit), 500 a page. The first read goes back history_days (default 90, at most 3,650; PayPal keeps three years). PayPal says a transaction can take up to three hours to appear, so each later read starts three hours before the end of the last one.

It does not read payer, shipping, cart or store details (fields is transaction_info only), and it does not read disputes, invoices or payouts.

  1. In the PayPal developer dashboard, under your own business account, make a REST app for this connection. In its features, keep Transaction search (and balances, where offered) and turn off every payment feature: accept payments, payouts, vault, subscriptions, invoicing and disputes.
  2. In LightHouse, open Setup and admin, Connectors and choose PayPal.
  3. Paste the app’s client id and secret, and choose live or sandbox. Your browser seals them to your deployment; LightHouse never sees them.

The credential is JSON in the variable the source names (AAL_PAYPAL by default): client_id, client_secret and environment (live, the default, or sandbox).

This collector is read-only in what it does: it sends the token request (POST /v1/oauth2/token, listed under read_operations; it moves no money) and GET requests to /v1/reporting/balances and /v1/reporting/transactions only. Its read-only test proves it on every change.

  • Refused by the code: PayPal states the app’s granted scopes in every token answer. Before every read, and in the health check, a token whose scopes contain any of /payments/, payouts, /vault/, /subscriptions, /disputes/update or /billing is refused, naming the scopes. The error is PayPal: refused: the credential can <scopes>; make a view-only one.
  • Not refused by the code: every other scope, such as openid, webhooks, invoicing or dispute reads. A scope that moves money under a URL not on that list would pass, so keep the app to Transaction search.
  • Needed: https://uri.paypal.com/services/reporting/search/read for transactions and https://uri.paypal.com/services/reporting/balances/read for balances; without one, PayPal answers 403.
  • IP restriction: PayPal REST apps have no IP allow-list; the health check still suggests pinning, which PayPal does not offer, so restrict egress from your deployment instead.
  • Hosts: only api-m.paypal.com (or api-m.sandbox.paypal.com), over https; redirects are never followed.
  • Transaction Search covers the last three years, 31 days a request.
  • A transaction can take up to three hours to appear; the overlap covers it.
  • Requests are paced and retried on 429 and 5xx with back-off.
  • Amounts are exact decimals read from PayPal’s strings, never through a float; a value that is not a number is refused.
  • Records are keyed by PayPal’s transaction id, so one read twice is still one record.
  • Records hold financial data: balances, amounts and fees, invoice ids and the subject the payer gave. Documents carry the label you give the source (default confidential).
  • Content is read in place, in your deployment. LightHouse receives ids, hashes and counts, never the records, and never opens the credential.
  • Errors carry a status and fixed text, never a provider’s body.
  • The data is audit-ready for your own agents; nothing here is itself a certification against any standard.
What you see What it means What to do
PayPal: refused: the credential can https://uri.paypal.com/payments/payouts; make a view-only one The app has a payment feature (the scope named) Turn the feature off in the app, or make an app with Transaction search only
PayPal answered HTTP 401 The client id or secret is wrong, or for the other environment Check them and environment
PayPal answered HTTP 403 The app lacks the Transaction search or balances scope Turn on Transaction search for the app
PayPal: environment is live or sandbox environment has another value Use live or sandbox
PayPal answered HTTP 429 Rate limit Nothing; the collector backs off and continues

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See How collectors are certified.

DateCollectorEngineVendor APIMethodExpires
21 November 20260.1.00.47.1Transaction Search API v1 (/v1/reporting)Fixtures only: built, not certifiedNot applicable

From the collector’s last scan on the default branch. What each line means, and what blocks a release: Security posture.

Last scanned25 November 2026
Critical findings0
High findings0
Medium findings0
Low findings2
Info findings0
Release blockedNo
Network allow-list checkPass
Read-only behavioural testPass
SBOM (CycloneDX)Produced
Dependency licencesPass
Scannersbandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only