paypal-best-practices

paypal-best-practices is a skill for Claude Code from paypal/AI-Toolkit. It costs 107 tokens per session (1,962 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, 5 commands, 1 MCP server shipped together

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
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, 5 commands, 1 MCP server.

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 1,962 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.01962
Opus 5 $0.00053 $0.00981
Sonnet 5 $0.00021 $0.00392
Haiku 4.5 $0.00011 $0.00196

Measured 10d ago against content hash 09dc881c8ee7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 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, isFundingEligible, 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
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 · 97 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 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 (13 stars, last pushed 21d ago), licensed Apache-2.0. It adds 107 tokens to every session and 1,962 once invoked, about $0.0005 per session on Opus 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 the structural problems unique to commerce sites: category / product listing pages (PLP), product detail pages (PDP), faceted navigation and the crawl-budget / duplicate-content traps it creates, pagination, canonical handling for…

nowork-studio/notfair-plugin · 235 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

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 · 88 tokens

internal-controls-and-audit

Designs and tests controls over financial reporting — segregation of duties, approval limits, evidence, and preparing for audit. Use this to design controls for a process, prepare for an external audit, respond to an audit finding, set approval thresholds, or assess where a small team's segregation of duties is…

cbrock84/headcount · 67 tokens