API Documentation
Integrate our rapid gaming fulfillment engine directly into your software or website. Each request carries a flat service fee.
API Keys Management API
Manage your standard API keys programmatically.
Authentication (Master Key)
These endpoints require your Master Key. Pass it in the Authorization header.
Authorization: Bearer YOUR_MASTER_KEY
1. List API Keys
GET https://tzapi.tzsmm.com/api/v1/user/manage-keys
{
"status": "success",
"data": [
{ "id": 1, "name": "Website A", "key": "abc...", "status": 1 }
]
}
2. Get Single API Key (Stats)
GET https://tzapi.tzsmm.com/api/v1/user/manage-keys/{id}
{
"status": "success",
"data": {
"id": 1,
"name": "Website A",
"key": "abc...",
"status": 1,
"total_requests": 1500,
"total_spent": 50.00,
"spent_limit": 100.00
}
}
3. Create API Key
POST https://tzapi.tzsmm.com/api/v1/user/manage-keys/create
Params: name (String), ip_whitelist (String), spent_limit (Numeric)
{
"status": "success",
"message": "API Key created successfully.",
"data": { "id": 2, "name": "New Key", "key": "def..." }
}
4. Update API Key
POST https://tzapi.tzsmm.com/api/v1/user/manage-keys/{id}/update
Params: name (String), ip_whitelist (String), spent_limit (Numeric), status (1 or 0)
{
"status": "success",
"message": "API Key updated successfully.",
"data": { "id": 1, "name": "Updated Name", "status": 0 }
}
5. Delete API Key
DELETE https://tzapi.tzsmm.com/api/v1/user/manage-keys/{id}
{
"status": "success",
"message": "API Key deleted successfully."
}