Skip to content
TCGPlaytestdocsDashboard
Documentation Get started
TCGPlaytest for developers

Your card experience.
Our printing API.

Turn finished artwork into cards delivered to your customers. Build on your own website. We handle artwork validation, printing and shipping.

From artwork to checkout

1
Send your finished artwork

Upload PNG or JPEG files directly to our storage, or use your existing HTTPS image URLs.

2
Let us prepare it for print

Create a cart and poll its status. We validate each image and add print bleed automatically.

3
Checkout on your website

Open embedded delivery details, continue to Stripe, then return to your own success page.

Create a cart · cURL
curl --request POST 'https://partner.tcgplaytest.com/v1/carts' \
  --header "Authorization: Bearer $TCGP_API_KEY" \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: order-1042-rev1' \
  --data '{
    "external_ref": "order-1042",
    "items": [{
      "image_url": "https://your-store.example/front.png",
      "quantity": 3
    }]
  }'

The example uses a placeholder image URL. Use your own public artwork or a completed upload reference. Run it on your server or terminal, then save the returned cart ID against the customer's order.

Choose how you build

Your key stays on your server. The REST API uses bearer authentication. The standalone widget uses a public partner identifier and does not need your secret key. For guest ordering through an AI assistant, the public MCP server needs no customer account or API key and includes a private card preview before checkout.

One API. Your own storefront.

BASE URLhttps://partner.tcgplaytest.com

This is the public partner API. Use the keys issued by your partner dashboard. Checkout may run on a different origin; pass the returned open cart to TCGPlaytest.checkout(cart). Never construct checkout tokens or URLs yourself.

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.