SAM STORE API DOCUMENTATION Base URL: https://api.sam4game.store AUTHENTICATION Send your user API key with every request using either: X-API-Key: BrazekXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX or: Authorization: Bearer BrazekXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX V1 ENDPOINTS GET /v1/account GET /v1/products GET /v1/orders POST /v1/orders COMPATIBLE API ENDPOINTS GET /client/api/profile GET /client/api/products GET /client/api/products?products_id=id1,id2 GET /client/api/products?base=1 GET /client/api/content/0 GET /client/api/content/{category_id} GET /client/api/newOrder/{product_id}/params?qty=1&playerId=VALUE&order_uuid=UUID GET /client/api/check?orders=[ORDER_ID] GET /client/api/check?orders=[ORDER_UUID]&uuid=1 V1 ACCOUNT GET https://api.sam4game.store/v1/account Response: { success: true, data: { id, email, wallet_balance, api_enabled } } V1 PRODUCTS GET https://api.sam4game.store/v1/products Response: { success: true, data: [{ id, name, category_id, available, price_usd, base_price_usd, qty_values, params, input_schema }] } V1 ORDERS LIST GET https://api.sam4game.store/v1/orders Response: { success: true, data: [{ id, order_ref, product_id, product_name, qty, amount_usd, status, delivered_code, player_id, created_at }] } V1 CREATE ORDER POST https://api.sam4game.store/v1/orders Content-Type: application/json Body: { product_id: 123, qty: 1, params_values: { playerId: "123456789" } } Response: { success: true, data: { order: {...}, wallet_balance: 10.5 } } The server validates the product, quantity, required fields, balance, provider response and idempotency before saving the order. Never expose your API key in browser code.