The UniTick API provides comprehensive endpoints for integrating with the platform. All endpoints are RESTful and return JSON responses with proper error handling and status codes.
Standard HTTP methods
Structured responses
Authentication required
All API endpoints require valid Supabase authentication tokens.
Sessions are managed automatically by Supabase with secure token refresh.
{
"success": true,
"data": {
"orderId": "12345",
"transactionHash": "0x...",
"tickets": [...]
},
"message": "Order created successfully"
}{
"success": false,
"error": "INSUFFICIENT_FUNDS",
"message": "Insufficient UTICK balance",
"details": {
"required": "100.50",
"available": "50.00"
}
}