paypal-best-practices

paypal-best-practices is a skill for Claude Code from paypal/AI-Toolkit. It costs 107 tokens per session (2,129 once invoked), scanned A, original, Apache-2.0.

A reference guide for adding PayPal payment features to websites and apps, including checkout, subscriptions, invoices, disputes, payouts, and related payment methods.

In plain words
What is it for?
Use it when building or troubleshooting PayPal checkout, card payments, Buy Now Pay Later, Venmo, recurring billing, webhooks, payment links, donations, or regional payment methods.
Why use it?
It helps developers choose the relevant PayPal documentation and use verified examples instead of guessing how each payment flow works.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter.

Part of the paypal plugin — 2 skills shipped together , and of paypal

Good fit Use it when building or troubleshooting PayPal checkout, card payments, Buy Now Pay Later, Venmo, recurring billing, webhooks, payment links, donations, or regional payment methods.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paypal/ai-toolkit/paypal-best-practices
About the project

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.

paypal/AI-Toolkit · 35 stars · on GitHub · developer.paypal.com

Install

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.

Any agent
npx skills add paypal/AI-Toolkit --skill paypal-best-practices
Clone the repo
git clone --depth 1 https://github.com/paypal/AI-Toolkit

Made for: Claude Code.

Or install paypal, the plugin that ships this one along with the rest of its 2 skills.

Wrote 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.

agentmods badge for paypal-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/paypal/ai-toolkit/paypal-best-practices/github.svg)](https://agentmods.dev/skills/paypal/ai-toolkit/paypal-best-practices)
Your own site
<a href="https://agentmods.dev/skills/paypal/ai-toolkit/paypal-best-practices"><img src="https://agentmods.dev/badge/skills/paypal/ai-toolkit/paypal-best-practices/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.

agentmods 80×15 button for paypal-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/paypal/ai-toolkit/paypal-best-practices"><img src="https://agentmods.dev/badge/skills/paypal/ai-toolkit/paypal-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,129 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00107 $0.02129
Opus 5.5 $0.00043 $0.00852
Sonnet 5.5 $0.00021 $0.00426
Haiku 4.5 $0.00011 $0.00213

Measured 10d ago against content hash feb4c9771d17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

paypal-best-practices scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/paypal-best-practices/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PayPal Best Practices

Before answering, read the relevant reference file from the table below. The reference files contain current documentation URLs, country availability, and verified code examples.

Integration Routing

Developer intent Reference file
Accept payments, add PayPal button, checkout flow, Orders API, payment link, payment links, pay link, React PayPal, @paypal/react-paypal-js, authorize vs capture, deferred capture, donate button, donations references/checkout.md (v5) or references/js-sdk-v6.md (v6)
Advanced Card Fields, Apple Pay, Google Pay, APMs, Expanded Checkout, bank redirect, iDEAL, Bancontact, BLIK, Przelewy24, Pay upon Invoice, Ratepay, domain association, regional payment methods references/expanded-checkout.md (v5) or references/js-sdk-v6.md (v6)
Add Venmo, Venmo button, Venmo eligibility, isEligible, eligibility check, Venmo app references/venmo.md (v5) or references/js-sdk-v6.md (v6)
Pay Later, installments, BNPL messaging, Pay in 4, financing, BNPL banner, Pay Later banner, Pay Later eligibility references/bnpl.md (v5) or references/js-sdk-v6.md (v6)
Recurring billing, subscriptions, plan management, free trial, trial period, upgrade plan, downgrade plan, plan revision references/subscriptions.md (v5) or references/js-sdk-v6.md (v6)
Disputes, chargebacks, refunds, evidence, provide evidence, dispute lifecycle, dispute stage, INQUIRY, CLAIM references/disputes-refunds.md
Send money, batch payouts, seller payments, Venmo payout, 1099, tax reporting, prepaid cards references/payouts.md
Invoices, billing, send invoice, invoice reminder, partial payment, line items references/invoicing.md
OAuth, access tokens, credentials, idempotency, token caching, token refresh, idempotency key, PayPal-Request-Id references/authentication.md
Webhook verification, event handling, signature check, webhook simulator, test webhooks, event types, PAYMENT.CAPTURE references/webhooks.md
Test the full webhook lifecycle, subscribe a webhook URL, register a webhook, simulate-event API, webhooks-events history, resend a webhook event, delete/manage a webhook subscription, ngrok for webhooks, local webhook listener references/webhook-sandbox.md
Fastlane, accelerated guest checkout, auto-fill, prefill, single-use token, Braintree Fastlane, braintree-web, BraintreeGateway, gateway.clientToken.generate, braintree.fastlane.create, paymentMethodNonce Pick exactly one — three variants, do not mix. Braintree gateway (braintree-web, BraintreeGateway, paymentMethodNonce): references/fastlane-braintree.md. PayPal-direct v5 (paypal.Fastlane({}), data-sdk-client-token): references/fastlane.md. PayPal-direct v6 (sdkInstance.createFastlane()): references/js-sdk-v6.md. If unclear which variant, ask before generating code.
3D Secure, liability shift, SCA, PSD2, Strong Customer Authentication, enrollment status, authentication status references/3d-secure.md
AI shopping agents, Store Sync, Agent Ready, agentic commerce, ChatGPT, product discovery, delegated payment token references/agentic-commerce.md
MCP server tools, tool inventory, product catalog, merchant insights, reporting references/mcp-tools.md
JS SDK v6, v6 Web SDK, createInstance, payment sessions, web components, migrate from v5, card fields, vault, save card, save payment method, vaulting, CSP, Content Security Policy references/js-sdk-v6.md

Read the full file on GitHub · 101 lines

Changes

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.

  1. 10d ago Changed · +4 lines feb4c9771d17
  2. 18d ago Changed 87419665a9d3
  3. 1mo ago Changed 8e61db895cf6
  4. 1mo ago First seen · 97 lines · 107 tokens per session scan A 09dc881c8ee7

Subscribe to this mod's changes

paypal-best-practices is a skill published in the GitHub repository paypal/AI-Toolkit (35 stars, last pushed 10d ago), licensed Apache-2.0. It adds 107 tokens to every session and 2,129 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

laravel-stripe-connect

Use when implementing multi-vendor marketplace payments, seller onboarding, commissions, payouts, or split payments with Stripe Connect.

fusengine/agents · 29 tokens

ecommerce-seo

E-commerce SEO audit for online stores (WooCommerce, Shopify, Magento, custom). Covers category / product listing pages (PLP), product detail pages (PDP), faceted navigation and its crawl-budget and duplicate-content traps, pagination, canonicals for variants and filters, out-of-stock / discontinued products, internal…

nowork-studio/notfair-plugin · 202 tokens

paid-ads-amazon

Plan and review Amazon Ads with margin-aware ACoS, product, and search-term guardrails. Use for Amazon advertising, Sponsored Products, Sponsored Brands, Sponsored Display, ASIN targeting, Amazon ACoS, or Amazon Ads performance exports.

nowork-studio/notfair-plugin · 55 tokens

stripe-payments

Add Stripe payments to a web app — Checkout Sessions, Payment Intents, subscriptions, webhooks, customer portal, and pricing pages. Covers the decision of which Stripe API to use, produces working integration code, and handles webhook verification. No MCP server needed — uses Stripe npm package directly. Triggers…

jezweb/claude-skills · 101 tokens

fundraising-and-investor-relations

Raises capital and manages the relationship afterward — deciding how much and why, understanding what dilution and preferences actually cost, running a process with real competitive tension, preparing for diligence before it starts, and reporting to investors and a board in a way that keeps support when results are…

cbrock84/headcount · 91 tokens

chief-financial-officer

Owns the financial position: planning, budgeting, forecasting, unit economics, cash, and the numbers the business is run and reported on. Use this to build or challenge a budget, model a decision's financial consequence, assess unit economics or runway, evaluate an investment or spend request, set financial controls…

cbrock84/headcount · 0 tokens