What sandbox does
Passsandbox: true anywhere you create an order. paperplane runs the complete pipeline — document rendering, pricing, address verification, content screening, and simulated fulfillment with a mock tracking number — instantly and free. Nothing is mailed and no card is charged.
Sandbox is the fastest way to test the whole product before a real card or real mail is involved. Agents can complete a full flow on their first call, before any human signs up for anything.
A sandbox order
The order is created alreadysubmitted with a mock tracking number:
What’s real vs simulated
Testing cancellation & reviews
Sandbox orders are createdsubmitted, so they’re past the cancelable window (too_late, 409) — the same as a live order that’s already been handed to the carrier. To test a successful cancel, you need an order in a cancelable state; the capability-token gating is what you’re really testing.
You can review a sandbox order (it’s in a reviewable state), attributed from your return address.
Credit codes and sandbox orders
POST /v1/credits/checkout has no sandbox mode — it always requires Stripe
configured (STRIPE_SECRET_KEY) and fails 503 payments_not_configured
without it, sandbox or not. GET /v1/credits/{code} is a plain lookup with
no sandbox awareness either: a code has to actually exist to return a
balance.
What sandbox does change is what happens to a credit_code you pass on
a sandbox order: because sandbox orders skip payment entirely, the code is
never authorized or debited — any value, including one that doesn’t exist,
is accepted and ignored. Don’t rely on that to test real credit redemption;
test the redemption path against a real (test-mode Stripe) credit code
instead.