Skip to main content

Coins & Tips

Closegram's virtual currency system lets users buy coin packages, send tips, unlock paid content, and transfer coins in chats.

Each property has its own checkbox marking whether that specific piece is fully implemented and functional end to end (frontend + backend) — update these yourself as work lands; this page won't overwrite them.

  • Buy coin packages via Stripe (saved card, or Apple Pay / Google Pay), or PayPal (web)
  • Buy coins inside the native apps via Apple / Google in-app purchase — receipts validated server-side, coins credited once (idempotent); backend + GraphQL ready
  • One universal coin, localized purchase price — mobile via the stores' price tiers, web via optional per-country prices; payout to creators stays a fixed global rate
  • Store refund reconciliation — a store refund/revoke deducts the coins automatically (Apple/Google webhooks)
  • Native app purchase UI (iOS/Android) — pending. Backend is ready; the apps still need to call redeemAppleCoinPurchase/redeemGoogleCoinPurchase after a StoreKit/Play Billing purchase (apps/ios left untouched for now)
  • View wallet balance & transaction history
  • Send tips
  • Unlock paid content with coins
  • Transfer coins directly in a chat message
  • Admin coin package management: create/update/activate/deactivate/delete packages — admin-namespaced ops (adminGetCoinPackages/adminCreateCoinPackage/…) on the admin schema + a /coins page in frontend-admin (super_admin)
  • Admin platform coin wallet: top up the platform wallet and transfer/take coins to/from a user's balance, from the user detail page in frontend-admin (super_admin)

See the technical reference for GraphQL schemas, routes, source file links, and per-field wiring status.