{
"status": false,
"message": "You must be logged in to create a case"
}
{
"status": false,
"message": "You must be at least level 25 to create a case"
}
{
"status": false,
"message": "Case name cannot start with 'level'" // or other validation error
}
{
"status": false,
"message": "Failed to create case"
}
{
id: string; // Unique identifier (lowercase, hyphenated)
name: string; // Display name
price: number; // Calculated price with house edge
creator: string; // Steam ID of creator
items: Array<ItemObject>;
type?: string; // "cs2" | "rust" | "mixed"
spins?: number; // Number of times case has been opened
usedBalanceType?: string; // Balance type used for creation
}
{
appid: number; // Steam app ID (730 = CS2, 252490 = Rust)
marketHashName: string; // Full item name
gunName: string; // Weapon name
skinName: string; // Skin name
wear?: string; // Wear condition (parsed)
image: string; // Image URL
price: string; // Formatted price (e.g., "$12.50")
nextPriceFetch: number; // Timestamp for next price update
percentage: number; // Drop chance percentage
}