PayPal
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.
At a glance
Section titled “At a glance”| Collector | PayPal, version 0.1.0 |
|---|---|
| Reads | PayPal: PayPal REST API (Transaction Search v1) (the vendor's documentation) |
| Family | Finance |
| Kind | Payments |
| Ways to connect | OAuth approval |
| Scopes |
|
| Read only | Yes, except: [object Object] |
| Vendor's API can move money | Yes |
| Personal data | Financial |
| Hosts it may contact | api-m.paypal.com, api-m.sandbox.paypal.com, uri.paypal.com, {host} |
| Vendor API versions | Transaction Search API v1 (/v1/reporting), OAuth 2.0 token (/v1/oauth2/token) |
| Lowest engine version | 0.47.1 |
What it reads
Section titled “What it reads”- 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.
How to connect
Section titled “How to connect”- 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.
- In LightHouse, open Setup and admin, Connectors and choose PayPal.
- 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).
Permissions
Section titled “Permissions”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/updateor/billingis refused, naming the scopes. The error isPayPal: 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/readfor transactions andhttps://uri.paypal.com/services/reporting/balances/readfor 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(orapi-m.sandbox.paypal.com), over https; redirects are never followed.
Limits
Section titled “Limits”- 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.
Data handling
Section titled “Data handling”- Records hold financial data: balances, amounts and fees, invoice ids and the
subject the payer gave. Documents carry the
labelyou give the source (defaultconfidential). - 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.
Troubleshooting
Section titled “Troubleshooting”| 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 |
Certification
Section titled “Certification”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.
| Date | Collector | Engine | Vendor API | Method | Expires |
|---|---|---|---|---|---|
| 21 November 2026 | 0.1.0 | 0.47.1 | Transaction Search API v1 (/v1/reporting) | Fixtures only: built, not certified | Not applicable |
Security posture
Section titled “Security posture”From the collector’s last scan on the default branch. What each line means, and what blocks a release: Security posture.
| Last scanned | 25 November 2026 |
|---|---|
| Critical findings | 0 |
| High findings | 0 |
| Medium findings | 0 |
| Low findings | 2 |
| Info findings | 0 |
| Release blocked | No |
| Network allow-list check | Pass |
| Read-only behavioural test | Pass |
| SBOM (CycloneDX) | Produced |
| Dependency licences | Pass |
| Scanners | bandit 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 |