Skip to main content
The mobile app module provides the backend APIs consumed by the TMT end-user mobile application. These endpoints let authenticated users view their orders and tickets, browse events they have purchased tickets for, and transfer tickets to other registered users.

User Validation

Validate app access codes for mobile users

Orders & Events

List user orders and events from the mobile app

Tickets

List and filter tickets for a user

Ticket Transfers

Transfer tickets online and offline between users

Functions in this module

FunctionDescription
app_user_validateValidate the app security code for a user session
app_list_ordersList all orders for a user from u_users/{uid}/orders
app_list_orders_eventsList orders for a user filtered by event ID
app_list_eventsList unique events a user has tickets for
app_list_ticketsList all tickets in a user’s wallet from u_users/{uid}/tickets
app_list_tickets_eventsList tickets filtered by event ID
app_transfer_ticketsTransfer a ticket to another registered user (online)
app_transfer_tickets_offlineTransfer a ticket offline (blocks re-transfer)

Data source

All mobile app data is read from Firestore:
  • u_users/{uid}/orders — order records for the user
  • u_users/{uid}/tickets — ticket copies assigned to the user
  • events/{event_id} — event metadata (for app_list_events)
Ticket transfers also write back to both Firestore and PostgreSQL (tickets table).

Build docs developers (and LLMs) love