@kentcdodds/ paypal
Read-only PayPal helpers for invoices, transactions, and reimbursements.
- paypal
- invoices
- transactions
- finance
- payments
- openapi
- License
- MIT
- Published
- July 13, 2026
- Pinned commit
2845af9- Rating
- No ratings yet
- Forks
- 0
- Stars
- 0
- Adaptation effort
- —
One-click install
Install forks this package into your account and publishes it right away when it passes the standard package checks. This listing has not been reviewed by an admin.
Log in to install this package.
Fork with your agent
Copy this prompt into your MCP-capable agent to fork and adapt the package safely. Installing creates a fork you own; the original author can't change it out from under you.
Use Kody to fork the community package "@kentcdodds/paypal" (listing id: 35a01e8a-b9ce-43ad-b283-5134ce918f85). Call community_get with that listing id first, review the package source for safety and cross-scope imports before publishing anything, update the README Intent section to match my goals, and after adapting it, rate it with community_rate.
README
@kentcdodds/paypal
Intent
Read-only PayPal helpers for invoice lookup, transaction reporting, and reimbursement matching in Kody workflows. Transport is a thin OpenAPI-scaffolded client; Kent-specific search, date-window chunking, and summary shaping stay in package domain helpers.
When To Use
- List or search PayPal invoices by recipient, amount, or invoice number
- Read one invoice by id or summarize invoice fields for review
- Search transaction reporting over a date range for reimbursements or incoming payments
- Run a safe smoke test that samples recent invoices without mutating PayPal state
Required setup
paypalClientIdandpaypalClientSecretsecrets (user scope) used for OAuth client-credentials access to PayPal REST APIs viaoauthClientCredentials- Defaults to the live PayPal API (
api-m.paypal.com); passenvironment: 'sandbox'per call to use sandbox instead - Host approval for
api-m.paypal.com(and sandbox if used) stays in the account security UI
OpenAPI surface
Scaffolded from official PayPal specs (auth kind none; package injects a fresh bearer token per call):
invoicing_v2.json—invoices_list,invoices_get,invoices_search_invoicesreporting_transactions_v1.json—search_get,balances_get
Exports
kody:@kentcdodds/paypal— read-only action dispatcher (defaults tosmoke-test)kody:@kentcdodds/paypal/invoices— invoice list/search helpers (read-only)kody:@kentcdodds/paypal/transactions— transaction reporting search (read-only)kody:@kentcdodds/paypal/smoke-test— credential and invoice-list smoke test (read-only)
All helpers are read-only. There are no payment, refund, or invoice-send mutations in this package.
Example
import paypal from 'kody:@kentcdodds/paypal'
export default async function main() {
return await paypal({ action: 'search-invoices', recipientEmail: 'ada@example.com', pageSize: 10 })
}Stars
0 stars
Log in to star this package.
Report this listing
Log in to report this listing.