tinyfiles.tv

tinyfiles Gift Cards

Redeem your tinyfiles gift card right here!

Discover extraordinary finds from independent sellers

Build your gift card

Pick a design, pick an amount, add a note. Demo only, no real charge.

Live preview

tinyfiles.tv
$25
For Alex
Happy birthday! Pick something you love.
๐ŸŽ
TINY-DEMO-0000  โ€ข  Never expires in demo

From well-crafted jewelry to personalized decor, a tinyfiles gift card invites your recipient to dive in and discover a delightful find from an independent creative, just for them.

Instant
Email or text
Never expires
In tinyfiles demo
Any shop*
That accepts gift cards

* In the real version, most shops that use tinyfiles Payouts accept gift cards. Check a shop About page for Accepts tinyfiles gift cards.

Endless gift possibilities!

From well-crafted jewelry to personalized decor, a tinyfiles gift card invites your recipient to dive in and discover a delightful find from an independent creative, just for them.

๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ‘ฉโ€๐Ÿซ ๐Ÿ‘ฉโ€๐ŸŽจ

Your employee gifting go-to

Perfect for every company milestone, celebration, and Thank you! Stock up on tinyfiles gift cards for an effortless way to spark smiles.

Bulk demo: 10 x $25 = $250, 25 x $50 = $1,250, custom list. No real charge.

Redeem & check balance

Demo only. Try TINY-1234 or TINY-DEMO-0000. No real balance.

Questions? We have got answers

For help with gift cards, please contact support

Pick a design and amount, preview it, then Add to cart in demo. No real gift card is bought or sent.
Backend  ·  Template · Proposed · Not connected

Backend, Gift Cards Backend, Template

Right now gift cards are a demo builder plus preview, redeem, balance, bulk calculator, no real code issued, no real payment taken, no real email sent. This backend is the map to make it real: issue codes, redeem, check balance, corporate orders. Proposed, not connected.

01 / Files to create
api/marketplace/giftcards.php      GET /api/marketplace/giftcards
api/marketplace/giftcards_buy.php  POST /api/marketplace/giftcards_buy
api/marketplace/giftcards_redeem.php POST /api/marketplace/giftcards_redeem
api/marketplace/giftcards_balance.php GET /api/marketplace/giftcards_balance?code=
api/marketplace/giftcards_bulk.php POST /api/marketplace/giftcards_bulk
sql/marketplace_tables.sql

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

02 / Database tables
marketplace_giftcards
  id BIGINT AUTO_INCREMENT PRIMARY KEY
  code VARCHAR(32) NOT NULL UNIQUE
  amount_cents INT NOT NULL
  balance_cents INT NOT NULL
  design VARCHAR(50) NOT NULL
  recipient_email VARCHAR(200) NULL
  message TEXT NULL
  status VARCHAR(30) NOT NULL DEFAULT 'active'
  expires_at DATETIME NULL

marketplace_giftcard_redemptions
  id BIGINT AUTO_INCREMENT PRIMARY KEY
  giftcard_id BIGINT NOT NULL
  user_id BIGINT NOT NULL
  amount_cents INT NOT NULL
03 / API endpoints
POST /api/marketplace/giftcards_buy
{ "amount_cents": 2500, "design": "snow-globe", "recipient_email": "alex@example.com", "message": "..." }
- creates gift card, returns code, sends email in real version

POST /api/marketplace/giftcards_redeem
{ "code": "TINY-1234" }
- adds balance to user account, marks code redeemed

GET /api/marketplace/giftcards_balance?code=TINY-1234
- returns balance, design, status, never returns full code in logs

POST /api/marketplace/giftcards_bulk
{ "qty": 10, "amount_cents": 2500 }
- corporate order, minimum $2,000 total in real version

Gift card codes must be random, never sequential, never guessable.

04 / Cooldown, moderation and validation
// Cooldown: 1 buy per 10s, 1 redeem per 5s, 1 balance check per 2s, 1 bulk per 30s
// Validation: amount $10 to $250 per card, design must be in allowlist, recipient email valid
// Safety: hash codes in DB, compare with hash_equals, never log codes, rate limit redeem attempts
// Privacy: balance check only shows balance, never shows buyer or recipient personal data

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

05 / Frontend wiring
// On Design click: set design, update preview, update emoji + background
// On Amount click: set amount, update preview
// On Add to cart: POST /api/marketplace/giftcards_buy, show code in demo, add to cart
// On Redeem: POST /api/marketplace/giftcards_redeem, show new balance
// On Balance: GET /api/marketplace/giftcards_balance, show balance
// If API fails, fall back to local demo plus disclaimer.
Copy snippets into api/marketplace/ plus sql/marketplace_tables.sql, no GitHub needed. Gift cards stay safe by never issuing a real code in demo, never charging a real fee, and never sending a real email.

Made by people,
for people.

Shop
Gift cards
Registry
Sitemap
Blog
tinyfiles United Kingdom
tinyfiles Germany
tinyfiles Canada
Sell
Seller handbook
Teams
Forums
Affiliates & Creators
About
tinyfiles, Inc.
Policies
Investors
Careers
Press
Impact
Help
Help Center
Privacy settings

United States | Terms of Use | Privacy | Interest-based ads | Local Shops | Regions | ยฉ 2026 tinyfiles, Inc.