SKILL PROCEDURE

PayPal

Use when integrating PayPal payments, choosing between PayPal products, or verifying PayPal API details that drift — webhook event names, SDK parameters, version pins. Covers Orders v2 checkout, subscriptions, payouts, disputes, and the Business versus Platforms split.

paypalcheckoutsubscriptionspayoutswebhooks
BEGINNER GUIDE

Understand PayPal before using it

WHAT IT COVERS

Use when integrating PayPal payments, choosing between PayPal products, or verifying PayPal API details that drift — webhook event names, SDK parameters, version pins. Covers Orders v2 checkout, subscriptions, payouts, disputes, and the Business versus Platforms split.

START HERE WHEN

Your work repeatedly involves one or more of these concepts. Open the full procedure below when the current task matches them.

paypalcheckoutsubscriptionspayoutswebhooks

Compare related skills

SKILLCATEGORYSHARED CONCEPTSEXPLANATION
PayPalPaymentsCurrent skillUse when integrating PayPal payments, choosing between PayPal products, or verifying PayPal API details that drift — webhook event names, SDK parameters, version pins. Covers Orders v2 checkout, subscriptions, payouts, disputes, and the Business versus Platforms split.
StripePayments
checkoutwebhooks
Payments platform for accepting money online, running subscriptions and invoicing, and paying out to connected accounts. Use when integrating Stripe — Checkout, Payment Intents, webhooks, Connect, Billing, Elements, Tax — choosing between its APIs, or identifying which surfaces are deprecated.
n8nAutomation
webhooks
n8n — a source-available workflow automation platform (self-hosted n8n or n8n Cloud) for connecting APIs and services through visual node graphs with optional JavaScript/Python code. Use when building integrations and automations, designing a workflow of triggers and nodes, using expressions to map data between nodes, working with the HTTP Request node and credentials, building custom nodes or the Advanced AI/agent nodes, calling n8n from webhooks or external code, deploying self-hosted n8n (Docker), or using the REST API and public/internal endpoints.

PayPal

You almost certainly already know the Orders v2 flow: create server-side, buyer approves in PayPal's UI, capture server-side, verify the capture response, and verify webhooks. This skill does not repeat that. It covers the three things that are easy to get wrong before you start, and points at the mirrored documentation for the details that go stale.

Pick the right product first

PayPal sells several payment products that are not variants of each other. Choosing wrong is expensive because it is discovered late.

| If you are | Use | Not | | --- | --- | --- | | A business taking your own payments | PayPal Business, Orders v2 | Platforms | | A marketplace settling to third-party sellers | PayPal Platforms / multiparty | Business | | Already on Braintree, or told to "use Braintree" | Braintree's own API and SDKs | Anything here |

Business vs Platforms diverges early. Platforms carries seller onboarding, permissioning, and partner-referral requirements that a business integration never touches, and the docs are a separate tree. Establish which one you are before writing code — retrofitting a marketplace onto a business integration is a rewrite, not a refactor.

Braintree is a different company's stack that PayPal acquired. It has its own API, its own SDKs, its own dashboard, and its own docs. If a task mentions Braintree, none of the PayPal REST material applies. This confusion is common because both are "PayPal" commercially and neither is a superset of the other.

What to verify rather than recall

These drift, and recalled values are unreliable. The mirrored corpus under references/vendor/ is the check.

  • Webhook event names. The exact set is easy to get subtly wrong, and a mis-typed subscription fails silently — you simply never receive the event. Confirm against the event-type list rather than a remembered name.
  • JS SDK query parameters. The SDK URL picks up new options regularly, and wrong parameters degrade quietly to a button that renders but omits funding sources.
  • API version pins and server SDK versions. Resolve from the changelog and the package registry.

Anything you would state as a version number, an exact event name, or an exact parameter is a candidate for looking up rather than asserting.

References

Hardgraph / curated knowledge for agents.

STATIC EXPORT · CANONICAL SOURCE