PayPal AI Toolkit is a plugin that connects AI coding agents with PayPal APIs and sandbox MCP servers, giving them PayPal-specific guidance and tools. It helps developers build and work with payment, subscription, invoice, and dispute integrations in Claude Code, OpenAI Codex, and other compatible agents. The catalogue entries are its commands, skills, plugins, and MCP integration.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/paypal/AI-ToolkitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/paypal/ai-toolkit/test-accounts)<a href="https://agentmods.dev/commands/paypal/ai-toolkit/test-accounts"><img src="https://agentmods.dev/badge/commands/paypal/ai-toolkit/test-accounts/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/paypal/ai-toolkit/test-accounts"><img src="https://agentmods.dev/badge/commands/paypal/ai-toolkit/test-accounts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.01089 |
| Opus 5.5 | $0.00004 | $0.00436 |
| Sonnet 5.5 | $0.00002 | $0.00218 |
| Haiku 4.5 | $0.00001 | $0.00109 |
Grade A, and why
test-accounts scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X POST https://api-m.sandbox.paypal.com/v1/oauth2/token \ How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
If "$ARGUMENTS" is set, show only the section(s) relevant to that scenario plus the Key Gotchas. If empty, show all sections.
Sandbox Buyer & Seller Accounts
Create test accounts at https://developer.paypal.com/dashboard/accounts. Two types:
| Type | Purpose |
|---|---|
| Personal (Buyer) | Approves payments, Venmo, Pay Later, opens disputes |
| Business (Seller/Merchant) | Receives payments, creates orders, invoices, subscriptions |
Sandbox base URL: https://api-m.sandbox.paypal.com
Quick Access Token (Sandbox)
curl -X POST https://api-m.sandbox.paypal.com/v1/oauth2/token \
-u "$PAYPAL_CLIENT_ID:$PAYPAL_CLIENT_SECRET" \
-d "grant_type=client_credentials"
Test Scenarios
Successful Payment
Use any sandbox buyer account with sufficient balance. Amount: any normal value.
Declined Payment
To simulate declines, use sandbox buyer accounts with specific wallet configurations or use these trigger amounts (USD):
| Trigger | How to simulate |
|---|---|
| Instrument declined | Use a sandbox buyer card set to "Declined" in the sandbox account wallet |
| Insufficient funds | Set the sandbox buyer balance below the order amount |
| Risk decline | Use amounts configured in your sandbox to trigger TRANSACTION_REFUSED |
BNPL / Pay Later
- Use order amounts between $30–$1,500 (Pay in 4) or $199–$10,000 (Pay Monthly)
- The Pay Later option appears in the sandbox buyer approval window
- Sandbox does not simulate installment billing — only the initial capture is tested
Pay with Venmo
- Venmo sandbox does not invoke the real Venmo app
- During sandbox approval, select "Venmo" in the funding source picker
- Confirm
payment_source.venmoin the capture response
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago Changed · +10 lines 35f2f1fca69c
- 1mo ago First seen · 104 lines · 11 tokens per session scan A c42357e56281
test-accounts is a command published in the GitHub repository paypal/AI-Toolkit (32 stars, last pushed 5d ago), licensed Apache-2.0. It adds 11 tokens to every session and 1,089 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
apex
APEX Methodology - The systematic Analyze-Plan-Execute-eLicit-eXamine approach for intelligent development. Reduces hallucination and defect risk through mandatory parallel research, self-review, and validation gates.
test
Test commit. Use for add tests, update tests, test coverage, unit test, spec.
test
Generate API integration tests for endpoints.
engineer
Guided full-project lifecycle - walks intake → plan (sign-off) → autonomous build → quality gates → CI/finish, invoking the right claude-engineer skill at each stage.
quality
Command "quality" from iwritec0de/app-dev, covering quality gate, usage, arguments, instructions and /quality run.
sdlc-test
Phase 4 — Testing & Security. Spawns qa-manual-tester, automation-qa-engineer, appsec-engineer, penetration-tester, performance-engineer.