Skip to main content

Overview

All TMT Platform functions are Firebase Cloud Functions v2 HTTP endpoints. Every function:
  • Accepts POST requests
  • Supports CORS (all origins)
  • Expects a JSON body with a data key wrapping the parameters (except exchange_rates_manual which uses params, and stripe_webhook which uses a raw Stripe payload)
  • Returns a JSON response with message, status, and data fields

Base URL pattern

https://{region}-{project-id}.cloudfunctions.net/{function_name}
Where {region} is your Firebase project’s Cloud Functions region (e.g., us-central1) and {project-id} is your Firebase project ID.

Request format

{
  "data": {
    "param1": "value1",
    "param2": "value2"
  }
}

Response format

{
  "message": "Human-readable status message",
  "status": 200,
  "data": {
    "valido": true,
    "...": "response fields"
  }
}

Available APIs

Users

Create and manage clients, collaborators, and staff

Events & Tickets

Generate, list, lock/unlock, and access-control tickets

Orders

Create orders, process payouts, and query order status

Payments

Stripe, Banco Mercantil, and BDV payment integrations

Analytics

Sales metrics, office performance, and platform indicators

Mobile App

End-user app APIs for orders, tickets, and transfers

Build docs developers (and LLMs) love