tinyfiles.tv
✓ Your info has been saved in demo.

Welcome, Seller!

We are so excited for you to join our marketplace for unique and creative goods, where special items with a human touch shine. Ready to bring your shop to life?

Make your shop uniquely yours
We will walk you through every step, from choosing a name to creating your first listing.
Tell us a bit about yourself
Share some info and set up how you will get paid with tinyfiles Payouts.
Open your shop, and pay a one-time $19 set-up fee
This fee helps us invest in support for new sellers and enhanced security checks to protect our trusted marketplace.
Get after your first sale!
We will give you tons of tips to help you start selling and grow your business in no time.

By clicking Let us do this and opening a tinyfiles shop, you are agreeing to tinyfiles Terms of Use, including our Seller Policy, Payouts Policy, and Privacy Policy.

Pick a step above. Demo only, nothing is saved to a real account, no real SSN, no real bank, no real card.
Backend  ·  Template · Proposed · Not connected

Backend, New Seller Backend, Template

Right now new seller is a 6 step wizard plus demo validation, no shop created, no fee charged, no bank connected, no tax ID collected. This backend is the map to make it real: create shop, save preferences, set payout, confirm billing. Proposed, not connected.

01 / Files to create
api/marketplace/shops.php       POST /api/marketplace/shops
api/marketplace/shop_prefs.php  POST /api/marketplace/shop_prefs
api/marketplace/payouts.php     POST /api/marketplace/payouts
api/marketplace/billing.php     POST /api/marketplace/billing
sql/marketplace_tables.sql

Keep the tinyfiles PHP pattern: /api/bootstrap.php, json_in() / json_out(), prepared PDO.

02 / Database tables
marketplace_shops
  id BIGINT AUTO_INCREMENT PRIMARY KEY
  user_id BIGINT NOT NULL UNIQUE
  shop_name VARCHAR(20) NOT NULL UNIQUE
  language VARCHAR(50) NOT NULL
  country VARCHAR(100) NOT NULL
  currency VARCHAR(10) NOT NULL
  seller_type VARCHAR(30) NOT NULL
  status VARCHAR(30) NOT NULL DEFAULT 'draft'

marketplace_payouts
  id BIGINT AUTO_INCREMENT PRIMARY KEY
  shop_id BIGINT NOT NULL
  bank_country VARCHAR(100) NOT NULL
  provider_ref VARCHAR(100) NULL
  status VARCHAR(30) NOT NULL DEFAULT 'pending'

Never store SSN, full card numbers, or full bank numbers in these tables. Payout provider stores them.

03 / API endpoints
POST /api/marketplace/shops
{ "shop_name": "PixelAndThread", "language": "English", "country": "United States" }
- validates name 4 to 20, no spaces or special chars, checks unique

POST /api/marketplace/shop_prefs
{ "language": "English", "country": "United States", "currency": "USD" }
- saves prefs for signed in user, language cannot change after save

POST /api/marketplace/payouts
{ "bank_country": "United States", "seller_type": "individual" }
- creates payout record pending, returns provider link, never returns bank data

Setup fee must go through payment provider. Never charge in this page demo.

04 / Cooldown, moderation and validation
// Cooldown: 1 shop create per 60s, 1 prefs save per 10s, 1 payout per 30s
// Validation: shop name 4 to 20, no spaces, no special chars, first and last name 1 to 100
// Safety: escape output, prepared statements, never log names, DOB, phone, or addresses
// Privacy: payout and tax info are user only, never public, never in search

Keep disclaimer until this ships: Tinker toy, not live yet.

05 / Frontend wiring
// On Save and continue: validate step, show error list, else next step
// On Shop name: check length and chars, show live check
// On Save paid: validate first, last, address, phone, DOB selects, show errors
// On Open my shop: POST /api/marketplace/shops, show success, go to Seller Hub
// If API fails, fall back to local demo plus disclaimer.
Copy snippets into api/marketplace/ plus sql/marketplace_tables.sql, no GitHub needed. New seller stays safe by never collecting SSN or full bank numbers in this page, using a payout provider for that, and never charging a real fee in demo.