Skip to content
TCGPlaytestdocsDashboard
Documentation Get started
Get started

Quickstart & authentication

Set up your account, protect your API key and make your first integration.

Before you start

For the partner REST API and widget, complete these account steps. To place a guest order through an AI assistant without a partner account, use the public MCP server.

  1. Sign in with Google and complete the partner application, including the HTTPS website where your integration runs. Completed new applications activate automatically; access can later be revoked.
  2. In the dashboard, accept the current Partner terms. Acceptance is once per version.
  3. Choose your integration: for the standalone widget, copy your personalized snippet and connect finished card images. For a server API integration, create a test/live key under 1. Server-side API keys. Keep that secret on your server; the standalone widget does not need it.
  4. For lifecycle notifications, configure 2. Order webhooks and copy its separate signing secret. See webhook setup.

No Stripe Connect account is required for ordinary or prepaid checkout. Optional Connect payouts require onboarding. A test key runs artwork validation and a complete simulated checkout, including order confirmation and signed test events. The optional prepaid sandbox supports simulated Stripe payments with test credit; test orders never print or ship. A live key enables payment checkout when that deployment is configured for it.

Authenticate from your server

Send your partner key as a bearer token. Bind every cart and upload reference to the owning customer session. Never place the secret in browser code or a public environment variable.

Server environment
TCGP_API_BASE=https://partner.tcgplaytest.com
TCGP_API_KEY=your_partner_api_key
STORE_ORIGIN=https://your-store.example

STORE_ORIGIN must match your registered HTTPS website. Your existing live partner key also works for prepaid testing when the platform uses Stripe test credentials.

24 topics

Get startedOverview

Everything you need to turn artwork into printed cards.

Get startedFirst order in 10 minutes

A runnable sandbox example from test key to verified webhook delivery.

Get startedOrder with AI · MCP

Connect ChatGPT, Claude, Gemini or your developer tools, preview your cards and check out without a TCGPlaytest account or customer API key.

Get startedTest checkout & events

Simulate checkout, verify the order, return to your store and trigger signed test events.

Get startedQuickstart & authentication

Set up your account, protect your API key and make your first integration.

Get startedHow checkout works

Create a cart, wait for artwork validation and open checkout on your website.

Get startedCode examples

Working server examples in your preferred language.

Build your integrationCheckout widget

Connect finished images to a ready-made review and checkout experience.

Build your integrationEmbedded checkout

Keep delivery details and artwork confirmation inside your own website.

Build your integrationCheckout branding

Make checkout feel like your store with saved branding and style presets.

Build your integrationCustom success page

Return customers to your registered website after verified payment.

Build your integrationStripe Connect payouts

Set your card selling price and receive earnings, with a 5% reserve for 15 days.

Build your integrationPrinting credits

Use your balance for printing, with customer shipping and tax paid through Stripe.

API referenceUpload artwork

Request a temporary upload URL. Send file bytes directly to private storage.

API referenceCreate a cart

Submit finished artwork, quantities and your success URL for validation.

API referenceRetrieve a cart

Read validation progress, quality warnings and checkout availability.

API referenceRetrieve an order

Track a funded manufacturing order from payment to shipment.

API referenceWebhooks

Receive signed order updates on your server.

ResourcesArtwork & API limits

File specifications, card limits and request allowances for this deployment.

ResourcesErrors & retries

Understand failures and retry safely without creating duplicate carts.

ResourcesGoing live

Partner launch checklist: verified orders, allowed origins and live checkout.

ResourcesAffiliate codes

Apply your approved affiliate preference to new carts.

ResourcesExpiry & retention

Understand cart lifetimes, artwork storage and cleanup.

ResourcesTerms & image rights

Know your responsibilities and the customer acceptance requirements.