Skip to content

Admin Mini App

Manage your shop from Telegram. No browser needed — orders, messages, returns, and stats right in the chat.


What it is

A separate Telegram Mini App built for the shop owner. While the Customer Mini App is the storefront, the Admin Mini App is the back office. Same concept — embedded web view inside Telegram — but showing management tools instead of products.


How to access it

Three ways to open the Admin Mini App:

MethodHow
Menu buttonThe bot sets a per-chat menu button. The admin sees Admin in the input bar; customers see Shop.
/admin commandSend /admin to the bot. Only works for the configured admin chat ID.
/start welcomeWhen the admin sends /start, an extra Admin Dashboard button appears below the regular shop buttons.

NOTE

All three methods require the Admin chat ID to be set in Shop Configuration. Without it, there's no admin access.


Dashboard

The landing screen shows a snapshot of your shop:

StatWhat it shows
OrdersTotal paid orders
RevenueLifetime revenue in sats
MessagesUnread message count
ReturnsOpen return requests
CustomersTotal customer count

Every stat card is tappable — tap it to jump straight to the relevant section (orders, messages, returns, or the customers list).

A 7-day revenue chart sits below the stat cards.


Orders

Full order list with search and status filters. Search by order ID, @username, or email.

Each order shows:

  • Date, customer, status badge, amount
  • Expandable detail with cart items, buyer info, and notes

Fulfillment

When order tracking is enabled, update fulfillment directly from the order detail:

Preparing  →  Shipping  →  Delivered

Each step change sends the customer a Telegram notification. Add a note (tracking number, delivery instructions) that the customer sees.


Messages

Conversations grouped by customer. Each thread shows:

  • Customer name or chat ID
  • Related order (if any)
  • Unread count and last message preview

Open a thread to see the full conversation and reply. Replies go through the bot — the customer receives them as Telegram messages.


Returns

All return requests with status, order reference, items, and refund amount. See Returns & Refunds for the full workflow including guardrails and store credit lifecycle.

Approve

Pick a refund method:

MethodWhat happens
Store creditAdded to the customer's account immediately
LightningCustomer is notified to provide a Lightning invoice

Adjust the refund amount for partial refunds or restocking fees.

Deny

Write a note explaining why. The customer sees it in Telegram.


Customers list

Tap the Customers stat card on the dashboard (or navigate from the menu) to see every customer who has interacted with the shop. The list supports search by name or username and shows per-customer order count and total spend at a glance. Tap any row to open that customer's full profile.


Customer profiles

Tap a customer name anywhere in the Admin Mini App to see their profile:

  • Telegram username and chat ID
  • First seen and last active dates
  • Total orders and lifetime spend
  • Store credit balance
  • Message count
  • Full order history

When the bot sends admin notifications (new order, new message, return request), each notification includes a button that opens the Admin Mini App on the relevant screen:

NotificationOpens
New paid orderOrder detail
Customer messageMessage thread
Return requestOrder detail with return

No need to search — tap the button and you're looking at the right thing. See Deep Links — Admin notifications for the full list.


Authentication

Same mechanism as the Customer Mini App — Telegram's HMAC-SHA256 signature validation. The Admin Mini App adds an extra gate: the authenticated chat ID must match the shop's configured admin chat ID. Non-admins are rejected.


Admin TMA vs LNbits panel

Both give you the same management capabilities. Choose based on context:

Admin Mini AppLNbits Panel
AccessTelegram on any deviceBrowser at your LNbits URL
Best forQuick actions on the goBulk management, multi-shop overview
StatsDashboard with 7-day chartStat cards across all shops
FulfillmentInline stepper per orderInline stepper per order
MessagesThreaded chat viewThreaded chat view
CampaignsNot availableFull campaign management
Multiple shopsOne shop at a timeAll shops with filtering