Morley Media

markdown: /ai/work/ctcgx.md

title
Canadian TCG Exchange - Trading Card Game Marketplace
category
Collectables Marketplace
status
live
date
2026-01-29
services
  • e-commerce-marketplaces
technologies
  • Next.js
  • React
  • TypeScript
  • NestJS
  • PostgreSQL
  • Prisma
  • Redis
  • Stripe Connect
  • EasyPost
  • Shopify API
  • AWS S3
  • CloudFront
  • Docker
  • Cloudflare

Canadian TCG Exchange - Trading Card Game Marketplace

Canadian peer-to-peer trading card marketplace built on NestJS and Next.js with Stripe Connect escrow payments, multi-carrier shipping, and Shopify inventory sync.

Outcome

Live marketplace across eight trading card games

CTCGX competes directly with TCGPlayer in the Canadian market, processing real seller-to-buyer transactions with escrow payments and multi-channel inventory tools.

Description

Canadian trading card sellers had no domestic peer-to-peer marketplace, forcing them to use TCGPlayer in the US or CardMarket in Europe and absorb the cross-border fees and shipping costs. We built CTCGX from scratch as the Canadian alternative, with a catalog across eight TCGs, Stripe Connect escrow payments, multi-carrier shipping through EasyPost, and bi-directional Shopify inventory sync so existing storefronts could plug in without rebuilding their operations. The platform now processes transactions across Pokémon, Magic, Yu-Gi-Oh, Lorcana, and four other major card games. Underneath, the stack runs on NestJS, Next.js, PostgreSQL, and Redis, with a REST API, webhooks, and an MCP server for AI-driven inventory management.

Features

  • Any user can open a storefront with team roles and permissions, then start selling across a catalog spanning Pokémon, Magic: The Gathering, Yu-Gi-Oh!, Disney Lorcana, Flesh and Blood, One Piece, Star Wars: Unlimited, and Riftbound.

  • Stripe Connect handles escrow payments with automated fund release and per-seller platform fee overrides, so sellers get paid only after buyers confirm.

  • Multi-carrier shipping through EasyPost generates labels and tracking across Canada Post, UPS, FedEx, Purolator, DHL, and UniUni.

  • Sellers can connect existing Shopify stores and keep inventory synchronized across both platforms automatically, with no manual reconciliation.

  • A public REST API with webhooks and an MCP server lets sellers integrate AI agents and external tools into their inventory workflow.

  • OAuth sign-in across Google, Microsoft, LinkedIn, and Discord pairs with session-based security and CSRF protection.

  • Admins moderate listings, manage stores, and review platform analytics from a dedicated panel, while buyers and sellers receive real-time order updates via Server-Sent Events and lifecycle emails.

Services