Telegram, the web workspace, the admin console and the API are different doors into the same policies and state transitions. Whatever the door, the same authorization, idempotency and audit rules apply.
A Team is the tenant and billing boundary. A Store is the commerce and Customer-data boundary. A User can belong to several Teams; a Team can operate several Stores when its entitlements allow it.
Boundaries are enforced server-side. Hiding a UI element is not authorization.
A versioned plan catalog drives entitlement checks and quotas. Provider webhooks are normalized before they touch subscription state, and reconciliation commands close the gap when a provider goes quiet.
Downgrade, restriction and suspension never delete historical data.
Paste a token from BotFather; Gram Shop verifies it against Telegram, registers the webhook, and resolves every inbound update to exactly one Store. Branding, languages and secrets are per-Store.
Secrets are encrypted or isolated and redacted from logs, exports, API responses and webhooks.
Multilingual product data, priced quotes with expiry, and finite inventory held as encrypted units. Reservation is atomic, so the last unit of a sold-out product has exactly one winner.
Concurrent requests for the last unit produce one winner and one clear refusal.
An order can be paid from the Customer Wallet, an external gateway, or both. Every movement of money posts an immutable ledger entry in integer minor units for fiat and exact decimals for crypto.
Never floating point for money. Posted ledger entries are append-only.
Payment intents are matched to provider evidence. Duplicate and reordered events are absorbed idempotently, and anything that cannot be matched automatically lands in an exception queue with the raw evidence attached.
Screenshots, browser returns and repeated status polls are never payment proof.
Verified payment triggers delivery in-chat within seconds. The revealed unit is written to the order record, redacted everywhere else, and carried into any later warranty claim or support thread.
A paid order is never denied fulfillment because the Fee Wallet later ran short.
Two surfaces, two identities. Team Workspace is where your people work. Platform Admin runs under a separate guard and permission model for Gram Shop operations — no shared privileges, no shared sessions.
Team User and Platform Admin identities and privileges stay separate.
A Developer is a normal Team member with scoped automation access, not a separate tenant type. Tokens carry granular abilities and a Store scope; writes take idempotency keys; outbound webhooks are signed with a retry history you can inspect.
A duplicate or reordered event must not create a second credit, sale, fulfillment or disclosure.
Preparing for Controlled Beta. Core journeys are implemented; admission awaits convergent release checks and signed operational rehearsals. Request an invitation to be considered for a future cohort.