sandbox

sandbox is a command for Claude Code from paypal/AI-Toolkit. It costs 12 tokens per session (622 once invoked), scanned A, original, Apache-2.0.

A reference for setting up PayPal's sandbox, the separate test environment used to develop payment integrations without using live transactions.

In plain words
What is it for?
It helps create developer and sandbox accounts, configure app credentials, use the sandbox API and MCP endpoint, and find related Postman resources.
Why use it?
It keeps test and production credentials, URLs, and accounts separate, reducing setup mistakes and the risk of sending development requests to the live PayPal system.

Command 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 It helps create developer and sandbox accounts, configure app credentials, use the sandbox API and MCP endpoint, and find related Postman resources.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/paypal/ai-toolkit/sandbox
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 · 31 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.

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 sandbox

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/paypal/ai-toolkit/sandbox"><img src="https://agentmods.dev/badge/commands/paypal/ai-toolkit/sandbox.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 622 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.00012 $0.00622
Opus 5.5 $0.00005 $0.00249
Sonnet 5.5 $0.00002 $0.00124
Haiku 4.5 $0.00001 $0.00062

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

Security

Grade A, and why

sandbox 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 1mo 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.

commands/sandbox.md · 54 lines

How it starts

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

Show PayPal sandbox developer setup. If "$ARGUMENTS" matches a recognized topic, show only that section. If "$ARGUMENTS" is empty or unrecognized, show all sections below.

Topic aliases:

  • "Getting Started" → aliases: setup, start, begin, quickstart, intro
  • "Sandbox vs Production Credentials" → aliases: credentials, creds, auth, keys, secret, token
  • "Postman" → aliases: postman, collection, api client

Getting Started

  1. Create a Developer account at https://developer.paypal.com
  2. Go to Dashboard → Apps & Credentials → Sandbox — create an app to get your Client ID and Secret
  3. Go to Dashboard → Sandbox → Accounts — create sandbox buyer and seller accounts for testing
  4. Use Sandbox base URL: https://api-m.sandbox.paypal.com
  5. Use Sandbox MCP endpoint: https://mcp.sandbox.paypal.com/sse

Sandbox vs Production Credentials

Sandbox Production
API base URL api-m.sandbox.paypal.com api-m.paypal.com
Buyer approval sandbox.paypal.com paypal.com
Credentials Sandbox app in Dashboard Live app in Dashboard

Never mix sandbox and production credentials — they are completely separate environments. This plugin's MCP server only connects to the sandbox environment (mcp.sandbox.paypal.com/sse).

Postman

PayPal publishes an official Postman collection with pre-built requests for all major APIs.

  1. Open Postman and import the collection: https://www.postman.com/paypal
  2. Set these collection variables:
    • base_url → https://api-m.sandbox.paypal.com
    • client_id → your sandbox Client ID
    • client_secret → your sandbox Client Secret
  3. Run the Get Access Token request first — Postman will store the token automatically
  4. You can now call Orders, Payments, Subscriptions, and other APIs directly from Postman

Key Resources

Read the full file on GitHub · 54 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. 1mo ago First seen · 54 lines · 12 tokens per session scan A 6eb2a8b6dccf

Subscribe to this mod's changes

sandbox is a command published in the GitHub repository paypal/AI-Toolkit (31 stars, last pushed 2d ago), licensed Apache-2.0. It adds 12 tokens to every session and 622 once invoked, about $0.0000 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.