{"openapi":"3.0.1","info":{"title":"WAXPEER API | BUY/SELL/TRADE Items via P2P system","description":"Connect CS:GO/Rust instant withdraws and deposits to your website using WAXPEER. Our customers can sell Steam items, and you can use the API to buy skins to any Steam trade url and get a delivery report.\n\nYou can also use NPM Module to interact with api <a href='//npmjs.com/package/waxpeer'>here</a>.\n\nDon't forget to open the schemas for more information about the parameters (status, message, price etc.).\n\n<a href='//docs.waxpeer.com/?method=websocket'>You can also find the trade websocket documentation here.</a>","version":"2.2.9","x-logo":{"url":"https://pbs.twimg.com/profile_images/1146046989039210497/6GTwZyAV_200x200.jpg"}},"externalDocs":{"description":"Join telegram group to get instant support","url":"https://t.me/joinchat/F9z1d11ozKg2ZDMx"},"servers":[{"url":"https://api.waxpeer.com"}],"tags":[],"paths":{"/v1/user":{"get":{"tags":["User"],"summary":"Provides user data","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"user":{"$ref":"#/components/schemas/User"}}}}}},"403":{"description":"Wrong or missing API key","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"msg":{"type":"string","example":"Missing API"}}}}}}}},"post":{"tags":["User"],"summary":"Create a new user and obtain a unique API key or get an API key from an already created account without Steam OAuth","description":"**Create a new user and obtain a unique API key or get an API key from an already created account without Steam OAuth.**\n\nBoth accounts must be unrestricted on Waxpeer.\n\nTarget account must be new on Waxpeer or have no active 2fa and enabled the collection of account information (You can enable it on the site if it is turned off).\n\n**The token will not be used as a cookie in Steam during the API key creation/get process.**","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a> of creator account","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Your Steam access token from the target account.\n\n**Token should be in base64 format and belong to your target account.**","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","description":"Your Steam access token from the target account.\n\nToken should be in base64 format and belong to your target account.","example":"<base64 of your Steam access token>"}}}}},"required":true},"responses":{"200":{"description":"successful operation\n\n**Please open the response schema if you need more information about the response parameters**","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","enum":["Missing API","wrong api","You are banned, please contact support","missing_token","Token must be base64 encoded","You have restrictions on your account","You have restrictions on your target account","You can not use your own token","Wrong token","Please disable 2FA on the site first","You have disabled the collection of account information, please enable it on the website","Please try again later","Need to refresh access token"],"description":"Error message if success is false","nullable":true,"example":"Need to refresh access token"},"data":{"$ref":"#/components/schemas/PostUser"},"exp":{"type":"number","description":"Token expiration time (is present in the response if the session has expired or has been active for less than an minute and is not accepted)","example":1712852259,"nullable":true}}}}}},"403":{"description":"Wrong or missing Waxpeer API key of creator account","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"msg":{"type":"string","example":"Missing API"}}}}}}}}},"/v1/user/steam-token":{"post":{"tags":["User"],"summary":"Temporary set Steam access token for user (Required for online)","description":"Due to the steam update, it became mandatory to pass regularly (we recommend sending once an hour and keep 6 hours from the time we receive it) to be online and sell on the marketplace. \n\n**Token should be in base64 format and belong to your account.** \n\nIt is recommended to transmit it once an hour to maintain validity, as well as in case of refreshing\n\nIf the \"success\" parameter in the response is false, you will not get online and most likely you need to update the token and send a new one\n\n**The token will not be used as a cookie in Steam outside of your client.**","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Required field to set steam token","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","description":"Steam access token in base64 format","example":"<base64 of your Steam access token>"}}}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"msg":{"type":"string","example":"Need to refresh access token","enum":["missing_token","wrong_api","Wrong token","Token set","Invalid JWT: The token must consist of three parts.","You have disabled the collection of account information, please enable it on the website","Need to refresh access token"]},"exp":{"type":"number","description":"Token expiration time (is present in the response if the session has expired or has been active for less than an hour and is not accepted)","example":1712852259,"nullable":true}}}}}}}}},"/v1/my-history":{"post":{"tags":["User"],"summary":"Your trades and transactions history","description":"Fetch trades and transactions by one request, maximum 100 in response.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Date format MM-DD-YY","content":{"application/json":{"schema":{"type":"object","properties":{"skip":{"type":"number","description":"Skip to get next results (max 1000)","example":0},"start":{"type":"string","description":"Start date","example":"09-20-2022"},"end":{"type":"string","description":"End date","example":"10-25-2022"},"sort":{"type":"string","description":"Sort by creation time","enum":["DESC","ASC"],"example":"DESC"},"float":{"type":"number","description":"Selects item float if set to 1 (May be null if an item inspect has not been done before sale)","example":0},"hold_only":{"type":"boolean","description":"Filter to show only trades with funds on hold (is_released=false with release_date present)","example":false},"spendings":{"type":"boolean","description":"Include outgoing balance history (balance decreases, e.g. tips sent) in a `spendings` array","example":false},"incomings":{"type":"boolean","description":"Include incoming balance history (balance increases, e.g. tips received) in an `incomings` array. The `reason` field identifies the source.","example":false}}}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","$ref":"#/components/schemas/MyHistory"}}}}},"x-codegen-request-body-name":"body"}},"/v1/prices":{"get":{"tags":["Buy items"],"summary":"Fetch all unique items and their min price and count","parameters":[{"name":"game","in":"query","description":"Which game would you like to fetch items from","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}},{"name":"minified","in":"query","description":"Will return additional data about items if set to 0","schema":{"type":"number","default":0,"enum":[0,1]}},{"name":"min_price","in":"query","description":"Minimum item price","schema":{"type":"number"}},{"name":"max_price","in":"query","description":"Maximum item price","schema":{"type":"number"}},{"name":"search","in":"query","description":"Search by part of the name, ex: 'hardened'.","schema":{"type":"string"}},{"name":"single","in":"query","description":"Will select only one item if set to 1","schema":{"type":"number","default":0,"enum":[0,1]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Item name","example":"★ Hand Wraps | Cobalt Skulls (Minimal Wear)"},"count":{"type":"number","description":"How many items available","example":5},"min":{"type":"number","description":"Minimal price (1000 = 1$)","example":937999},"img":{"type":"string","description":"Image icon from steam if minified is provided","example":"https://community.akamai.steamstatic.com/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DfVlxgLQFFibKkJQN3wfLYYgJK7dKyg5KKh8j4NrrFnm5D8fp3i-vT_I_KilihriwvOCyveMX6Ll9pORy_pgD8lrvxgJfpvpWamnZn6XUl5SmJm0DjhhlFbedp1PWYH1jNVaUcSqOKBnuCtYczFntLO18msw"},"steam_price":{"type":"string","description":"Steam price average if minified is provided","example":990000},"rarity_color":{"type":"string","description":"Rarity hex color if minified is provided","example":"#EB4B4B"},"type":{"type":"string","description":"Item type if minified is provided","example":"Gloves"}}}}}}}}}}}},"/v1/prices/dopplers":{"get":{"tags":["Buy items"],"summary":"Fetch all dopplers phases by filters","parameters":[{"name":"phase","in":"query","description":"Doppler phase. Will return all if set to 'any'. For multiple phases pass it like this phase=Emerald&phase=Ruby","schema":{"type":"string","default":"any","enum":["any","Emerald","Ruby","Sapphire","Black Pearl","Phase 1","Phase 2","Phase 3","Phase 4"]}},{"name":"exterior","in":"query","description":"Item exterior. Will return all if not set. For multiple exteriors pass it like this exterior=FN&exterior=MW","schema":{"type":"string","nullable":true,"enum":["FN","MW","FT","WW","BS"]}},{"name":"weapon","in":"query","description":"Weapon type. Will return all if not set. For multiple weapons pass it like this weapon=Bayonet&weapon=Karambit","schema":{"type":"string","nullable":true,"enum":["Bayonet","Bowie Knife","Butterfly Knife","Falchion Knife","Flip Knife","Glock-18","Gut Knife","Huntsman Knife","Karambit","M9 Bayonet","Navaja Knife","Shadow Daggers","Stiletto Knife","Talon Knife","Ursus Knife"]}},{"name":"minified","in":"query","description":"Will return additional data about items if set to 0 (steam_price, img, weapon, float, paint_index)","schema":{"type":"number","default":0,"enum":[0,1]}},{"name":"min_price","in":"query","description":"Minimum item price","schema":{"type":"number"}},{"name":"max_price","in":"query","description":"Maximum item price","schema":{"type":"number"}},{"name":"search","in":"query","description":"Search by part of the hash name ex: 'bayonet'.","schema":{"type":"string"}},{"name":"single","in":"query","description":"Will select only one item if set to 1","schema":{"type":"number","default":0,"enum":[0,1]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricesDopplers"}}}}}}},"/v1/prices/snapshot":{"get":{"tags":["Buy items"],"summary":"Fetch all items listed on WAXPEER (large response size)","description":"Updates once per 10 seconds","parameters":[{"name":"game","in":"query","description":"Which game would you like to fetch items from","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricesSnapshot"}}}}}}},"/v1/check-many-project-id":{"get":{"tags":["Buy items"],"summary":"Checking the status of many steam trades by project_id identifier","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"id","in":"query","description":"Your unique ID passed in /buy-one-p2p-name or /buy-one-p2p (for multiple ids pass it like this id=1&id=2&id=3, max 100 at once)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Returns information about withdraw","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","nullable":true,"description":"Usually null, but if something went wrong, you will get error message here and you need to retry the request","example":"Invalid ID"},"trades":{"type":"array","items":{"$ref":"#/components/schemas/SteamWithdrawStatus"}}}}}}}}}},"/v1/check-many-steam":{"get":{"tags":["Buy items"],"summary":"Checking the status of many steam trades by Waxpeer ids","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"id","in":"query","description":"Id query, you can pass it like this id=123&id=345 recieved by calling /v1/buy-one-p2p (for multiple ids pass it like this id=1&id=2&id=3, max 100 at once)","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Returns information about withdraw","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","nullable":true,"description":"Usually null, but if something went wrong, you will get error message here and you need to retry the request","example":"Please try again"},"trades":{"type":"array","items":{"$ref":"#/components/schemas/SteamWithdrawStatus"}}}}}}}}}},"/v1/check-availability":{"get":{"tags":["Buy items"],"summary":"Fetches available item(s) based on the item_id(s) passed in query","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"item_id","in":"query","required":true,"description":"Steam item id, you can pass multiple ids up to 100 as item_id=1&item_id=2","schema":{"type":"string"}},{"name":"game","in":"query","required":false,"description":"Game name, supported values: csgo, dota2, tf2, rust. Defaults to csgo if not provided","schema":{"type":"string","enum":["csgo","dota2","tf2","rust"],"default":"csgo"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckAvailability"}}}}}}},"/v1/steam-trade":{"post":{"tags":["Sell items"],"summary":"Notification about created tradofer","description":"Due to the Steam update we recommend to send this request and do mobile confirmation only if you receive a successful response (success param is true). ","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"tradeid":{"type":"number","example":123456789,"description":"Created Steam trade id"},"waxid":{"type":"string","example":"e222ca2d-221c-4024-b603-229803af68a4","description":"Waxpeer uuid trade id (waxid in \"send-trade\" event OR \"costum_id\" from another source)"}}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"msg":{"type":"string","example":"No token found","nullable":true,"enum":["No token found","Invalid trade id","Error","Already have created offer. Do not confirm the last one"]}}}}}}}}},"/v1/ready-to-transfer-p2p":{"get":{"tags":["Sell items"],"summary":"Fetch trades that need to be sent (Deprecated)","description":"Connecting to the trade websocket is required to sell items (included in the extension and official app).\n\nIf your connection is unstable (such as public Wi-Fi or mobile data), your trade websocket connection can be interrupted and the creation of a trade event may be missed.\n\nIn order not to miss the sending of a trade you should be making this request at least every minute.\n\nPlease check send_until timestamp before creating trade in Steam (we do not recommend creating a trade if one minute or less is left).\n\n<a href='//docs.waxpeer.com/?method=websocket'>Trade websocket documentation is published here.</a>","parameters":[{"name":"steam_api","in":"query","description":"Your <a target='_blank' href='https://steamcommunity.com/dev/apikey'>Steam API key</a>","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadyToTransferP2P"}}}}}}},"/v1/check-wss-user":{"get":{"tags":["Sell items"],"summary":"Force p2p status check. Recommended for usage with poor network connections","description":"If the network connection is poor, we recommend to request once per hour so that items remain or come back on sale.\n\nNote: This method will enable items for sale if you're  connected to the trade websocket and even if you set your sales status to offline.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"steamid","in":"query","description":"Your Steam64ID. Can be found in /user endpoint","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"step":{"type":"number","description":"Our system counter","example":3},"msg":{"type":"string","description":"Response message","example":"You can sell now","enum":["Missing steamid","You can sell now","You have waxpeer trade ban, please try again later","Failed to verify your api","Invalid steam api","Install our app/extension and make sure you're signed in to steam"]}}}}}}}}},"/v1/buy":{"post":{"tags":["Buy items"],"summary":"Buy items in bulk and send to one tradelink","description":"Buy up to multiple items in one request. Each item is purchased independently — check the per-item `success` in the response array. Prices are integer units (USD * 1000), same as /v1/buy-one-p2p. We recommend adding a `project_id` per item so you can track trades with the /check-many-project-id GET method in case of a timeout.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["items"],"properties":{"tradelink":{"type":"string","description":"Steam trade link the items are sent to"},"all":{"type":"boolean","description":"Fail the whole request unless every item can be bought"},"items":{"type":"array","items":{"type":"object","required":["price"],"properties":{"item_id":{"oneOf":[{"type":"string"},{"type":"integer"}],"description":"Item id from our listings (omit when buying by name)"},"name":{"type":"string","description":"Market hash name (used when item_id is omitted)"},"price":{"type":"integer","description":"Price in integer units (USD * 1000)"},"project_id":{"type":"string","description":"Your own id to track the trade with /check-many-project-id"}}}}}}}}},"responses":{"200":{"description":"Per-item purchase results","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"msg":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"success":{"type":"boolean"},"id":{"type":"integer","format":"int64","description":"Trade id (only on success). Track it with /check-many-steam"},"item_id":{"type":"string"},"name":{"type":"string"},"price":{"type":"integer","description":"Price in integer units (USD * 1000)"},"internal_item_id":{"type":"string","nullable":true},"new_price":{"type":"integer","description":"Present when the purchase failed because the price increased"},"msg":{"type":"string","description":"Error message when success is false"},"error_msg":{"type":"string"}}}}}}}}}}}},"/v1/buy-one-p2p":{"get":{"tags":["Buy items"],"summary":"Buy items using item_id and send to specific tradelink","description":"Notes about trades and frequently asked questions\n\nThe duration of the trade in different situations:\n\nIf seller's info is invalid then it can be cancelled immediately and status 6 is set;\n\nIf seller's details are valid, but no trade is created, then it will auto-cancel after 6 minutes;\n\nif created or waiting for mobile confirmation then it will auto-cancel after 11 to 15 min (depends on when created);\n\nif trade is waiting for mobile confirmation and connection with the seller was lost then it will auto-cancel after 6 hours.\n\nWe recommend adding project_id to purchase so that you can track a trade in case of a timeout or break of purchase request using the /check-many-project-id GET method one minute after the request.\n\nAn array of possible messages with purchase errors and other information, such as status, can be seen by opening the response scheme, where:\n\nSystem busy - trade is cancelled due to tradelink check timeout or heavy load;\n\nbuy_csgo - CS:GO purchases are deactivated on the market;\n\nbuy_rust - RUST purchases are deactivated on the market.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"query","description":"Your unique ID (string [50])\n\nAllows to track your trades by project_id via /check-many-project-id","schema":{"type":"string"}},{"name":"item_id","in":"query","description":"Item id from fetching our items","required":true,"schema":{"type":"string"}},{"name":"token","in":"query","description":"Token parameter from Steam tradelink","required":true,"schema":{"type":"string"}},{"name":"price","in":"query","description":"Item price (1000 = 1$)","required":true,"schema":{"type":"number"}},{"name":"partner","in":"query","description":"Partner parameter from Steam tradelink","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Weather or not we bought the item","example":true},"id":{"type":"number","description":"Id of the item","example":1},"msg":{"type":"string","description":"When success is false will let you know the reason.\n\nEx: buy_csgo Meaning that csgo buying has been disabled","nullable":true,"example":"buy_csgo","enum":["We couldn't validate your trade link, either your inventory is private or you can't trade","There was an error while sending your trade offer, try again later","Please set your steam inventory public","Your tradelink is incorect, please update it","Item price has increased or item is no longer available","Please enter your trade link","System busy","buy_csgo","buy_tf2","buy_rust","buy_dota2","Buy request with projectId: <project_id> already exists"]},"price":{"type":"number","description":"Price of the item (1000 = 1$)","example":1000}}}}}}}}},"/v1/buy-one-p2p-name":{"get":{"tags":["Buy items"],"summary":"Buy item by name and send to specific tradelink","description":"Notes about trades and frequently asked questions\n\nThe duration of the trade in different situations:\n\nIf seller's info is invalid then it can be cancelled immediately and status 6 is set;\n\nIf seller's details are valid, but no trade is created, then it will auto-cancel after 6 minutes;\n\nif created or waiting for mobile confirmation then it will auto-cancel after 11 to 15 min (depends on when created);\n\nif trade is waiting for mobile confirmation and connection with the seller was lost then it will auto-cancel after 6 hours.\n\nWe recommend adding project_id to purchase so that you can track a trade in case of a timeout or break of purchase request using the /check-many-project-id GET method one minute after the request.\n\nAn array of possible messages with purchase errors and other information, such as status, can be seen by opening the response scheme, where:\n\nSystem busy - trade is cancelled due to tradelink check timeout or heavy load;\n\nbuy_csgo - CS:GO purchases are deactivated on the market;\n\nbuy_rust - RUST purchases are deactivated on the market.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"query","description":"Your unique ID (string [50])\n\nAllows to track your trades by project_id via /check-many-project-id","schema":{"type":"string"}},{"name":"name","in":"query","description":"Name of an item you can also pass without extension which will buy the cheapest available","required":true,"schema":{"type":"string"}},{"name":"token","in":"query","description":"Token parameter from Steam tradelink","required":true,"schema":{"type":"string"}},{"name":"price","in":"query","description":"Item price (1000 = 1$)","required":true,"schema":{"type":"number"}},{"name":"partner","in":"query","description":"Partner parameter from Steam tradelink","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"Which game would you like to buy items from","required":true,"schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Was the item purchased","example":true},"id":{"type":"number","description":"Id of the item","example":1},"price":{"type":"number","description":"Price of the item (1000 = 1$)","example":720},"msg":{"type":"string","description":"When success is false will let you know the reason.\n\nEx: buy_csgo Meaning that csgo buying has been disabled","nullable":true,"example":"buy_csgo","enum":["We couldn't validate your trade link, either your inventory is private or you can't trade","There was an error while sending your trade offer, try again later","Please set your steam inventory public","Your tradelink is incorect, please update it","Item price has increased or item is no longer available","Please enter your trade link","System busy","buy_csgo","buy_tf2","buy_rust","buy_dota2","Buy request with projectId: <project_id> already exists"]}}}}}}}}},"/v1/buy-order-history":{"get":{"tags":["Buy order"],"summary":"Buy order trigger history","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"skip","in":"query","description":"By default it will return 50 trades, use skip to fetch more (Max: 2000)","schema":{"type":"number"}},{"name":"game","in":"query","description":"Which game would you like to get items from (without game param will return for all)","schema":{"type":"string","enum":["csgo","tf2","rust","dota2"]}},{"name":"sort","in":"query","description":"Sort by date (ASC/DESC)","schema":{"type":"string","default":"ASC","enum":["ASC","DESC"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"history":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"item_name":{"type":"string"},"game":{"type":"string"},"price":{"description":"Item price (1000 = 1$)","type":"number"},"created":{"type":"string","example":"2020-03-25T07:10:03.674Z"},"last_updated":{"type":"string","description":"Time when our system last checked the trade","example":"2020-03-25T07:10:03.674Z"},"msg":{"type":"string","nullable":true,"description":"Message with error from our system"}}}},"count":{"type":"number","description":"Number of items","example":2}}}}}}}}},"/v1/buy-orders":{"get":{"tags":["Buy order"],"summary":"Active buy orders. Sorted by price DESC, if a filter by name is specified","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"name","in":"query","description":"Multiple queries of name, so you can pass it like this name=AK-47 | Aquamarine Revenge (Factory New)&MP9 | Hypnotic (Minimal Wear). Max 50 at once","required":true,"schema":{"type":"string"}},{"name":"own","in":"query","description":"Will return only own offer(s) for the item(s) if set to 1","schema":{"type":"number","default":0,"enum":[0,1]}},{"name":"skip","in":"query","description":"It will return maximum 100 orders, use skip to fetch more (Max skip: 2000 if own is NOT set to 1. Please use names bulks to get all orders)","schema":{"type":"number","default":0}},{"name":"game","in":"query","description":"From which game would you like to get offers from (default csgo)","schema":{"type":"string","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"offers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number","example":1},"name":{"type":"string","description":"Item name","example":"MP9 | Hypnotic (Minimal Wear)"},"price":{"type":"number","description":"Item price (1000 = 1$)","example":1},"amount":{"type":"number","description":"How many items you want to buy","example":5},"game":{"type":"string","example":"csgo"},"filled":{"type":"number","description":"How many offers were filled (Shown only with own set to 1)","example":2},"by":{"type":"string","description":"Waxpeer user id (Can be found in /user endpoint)","example":"1247ffd5-f437-4a30-9953-10eda7df6e17"}}}},"count":{"type":"number","description":"How many buy orders you have"},"msg":{"type":"string","description":"If success is false then we will let you know the reason","example":"Search without name(s) when own set to false is not allowed"}}}}}}}}},"/v1/buy-orders/snapshot":{"get":{"tags":["Buy order"],"summary":"Fetch all maximum orders for items","description":"Updates once per 10 seconds","parameters":[{"name":"game","in":"query","description":"Which game would you like to fetch items from (default csgo)","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrdersSnapshot"}}}}}}},"/v1/create-buy-order":{"post":{"tags":["Buy order"],"summary":"Create a buy order to auto purchase items. Currently independent of the p2p status of the user","description":"Rate limit of create/edit actions for orders is 60 requests per 60 seconds\n\nYou can have one order per item name","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"name","in":"query","description":"Name of item","required":true,"schema":{"type":"string"}},{"name":"amount","in":"query","description":"Amount of items","required":true,"schema":{"type":"number"}},{"name":"price","in":"query","description":"Max price that you want to buy item for (1000 = 1$)","required":true,"schema":{"type":"number"}},{"name":"game","in":"query","description":"Target item game","required":true,"schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","description":"If success is false then we will let you know the reason:\n\nMissing name \n\nMissing amount \n\nMissing price\n\nNo item found\n\nNot enough funds!\n\nPlease save your tradelink\n\nPlaced order\n\nPlease increase your buy order price\n\nYou already have an order for this item","example":"Placed order"},"filled":{"type":"number","description":"If the order is executed instantly then we return how many orders were filled","example":2},"id":{"type":"number","description":"ID of order","example":2007}}}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}}}}},"/v1/edit-buy-order":{"post":{"tags":["Buy order"],"description":"Rate limit of create/edit actions for orders is 60 requests per 60 seconds","summary":"Edit buy order","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Edit buy order body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditBuyOrderBody"}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditBuyOrderResponse"}}}},"429":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}}},"x-codegen-request-body-name":"amount"}},"/v1/remove-buy-order":{"get":{"tags":["Buy order"],"summary":"Remove buy order(s)","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"id","in":"query","description":"Id of order. For multiple remove you can pass ids like this id=123&id=345","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"msg":{"type":"string","nullable":true,"description":"Error ex: type is not a number"},"removed":{"type":"number","description":"How many orders removed","example":5}}}}}}}}},"/v1/check-tradelink":{"post":{"tags":["Buy items"],"summary":"Check tradelink validity","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Tradelink","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeTradelinkBody"}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckTradelinkResponse"}}}}},"x-codegen-request-body-name":"tradelink"}},"/v1/history":{"get":{"tags":["Buy items"],"summary":"Get recent purchases by filters","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"partner","in":"query","description":"Partner number from tradelink that you used to purchase an item (steamid32)","schema":{"type":"string","example":"153912146"}},{"name":"token","in":"query","description":"Token from tradelink used to purchase an item","schema":{"type":"string","example":"ssR242yo"}},{"name":"skip","in":"query","description":"Limited by 50 items in response, use skip to get other trades","schema":{"type":"number","example":50}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"history":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","description":"Steam item id before trade","example":27165625733},"trade_id":{"type":"number","description":"Steam trade id","example":5114261104},"token":{"type":"string","example":"ssR242yo"},"partner":{"type":"number","example":"153912146"},"created":{"type":"string","example":"2020-01-18T07:28:12.360Z"},"send_until":{"type":"string","description":"Time when the trade will expire","example":"2020-01-18T07:28:12.360Z"},"reason":{"type":"string","nullable":true,"description":"Available when trade failed","example":"Buyer failed to accept"},"id":{"type":"number","description":"Waxpeer id of trade obtained during executing buy request","example":4258189},"image":{"type":"string","description":"Item image from Steam","example":"https://steamcommunity-a.akamaihd.net/economy/image/class/730/5040342865/200fx125f"},"price":{"type":"number","description":"Sale price of the item (1000 = 1$)","example":1200},"name":{"type":"string","description":"Item name","example":"USP-S | Cortex (Field-Tested)"},"status":{"type":"number","description":"Status of the trade: \n\n6->Declined and refunded\n\n5->Completed\n\n4->Trade sent and can be accepted\n\n2-> Waiting for seller to confirm trade on mobile\n\n1->Processing and creating the trade\n\n0->Waiting for user to buy more items and if the user doesn't buy more items then the status will automatically change with in a certain period","example":6}}}}}}}}}}}},"/v1/change-tradelink":{"post":{"tags":["User"],"summary":"Change your tradelink","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Tradelink","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeTradelinkBody"}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckTradelinkResponse"}}}},"429":{"description":"Too many requests. Limit for endpoint actions - 5 requests per 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}}},"x-codegen-request-body-name":"tradelink"}},"/v1/transfer-money":{"post":{"tags":["User"],"summary":"Transfer funds to another user","description":"Transfer money from your account to another user's account using their Steam ID. The amount will be deducted from your balance and added to the recipient's balance.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"steam_id","in":"query","description":"Steam ID of the recipient user","required":true,"schema":{"type":"string"}},{"name":"amount","in":"query","description":"Amount to transfer (must be positive)","required":true,"schema":{"type":"number","minimum":0.01}}],"responses":{"200":{"description":"Transfer result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","example":"Transfer completed successfully"}}}}}},"400":{"description":"Bad request - Invalid parameters or insufficient funds","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"msg":{"type":"string","example":"Missing field"}}}}}},"403":{"description":"Wrong or missing API key","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"msg":{"type":"string","example":"Missing API"}}}}}}}}},"/v1/set-my-steamapi":{"get":{"tags":["User"],"summary":"Save new Steam API key","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"steam_api","in":"query","description":"Steam <a target='_blank' href='https://steamcommunity.com/dev/apikey'>API</a>","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","enum":["wrong_api","same_api","key already exists","Steam is having issues","Steam is slow, try again","Error try again","You have disabled the collection of account information, please enable it on the website"],"description":"Error comment","example":"wrong_api"}}}}}},"429":{"description":"Too many requests. Limit for endpoint actions - 5 requests per 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}}}}},"/v1/update-account":{"post":{"tags":["User"],"summary":"Update account settings (tradelink, access token, proxy, steam API, and webhook)","description":"Unified endpoint to update multiple account settings in one request. This is useful for partners who need to manage accounts that are waiting for trade verification and balance unfreezing without keeping socket connections open. At least one field must be provided.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Account settings to update","content":{"application/json":{"schema":{"type":"object","properties":{"tradelink":{"type":"string","description":"Steam trade URL","example":"https://steamcommunity.com/tradeoffer/new/?partner=123456789&token=abcdefgh"},"access_token":{"type":"string","description":"Steam access token in base64 format","example":"<base64 of your Steam access token>"},"refresh_token":{"type":"string","description":"Steam refresh token in base64 format (optional, used with access_token)","example":"<base64 of your Steam access token>"},"proxy":{"type":"string","description":"Proxy server for Steam API requests. Format: username:password@host:port. Pass empty string to clear.","example":"user123:pass456@proxy.example.com:8080","nullable":true},"steam_api":{"type":"string","description":"Steam API key (32 characters). Get it from https://steamcommunity.com/dev/apikey","example":"12345678901234567890123456789012"},"webhook":{"type":"string","description":"Webhook URL for notifications. Must be a valid HTTP/HTTPS URL. Pass empty string to clear.","example":"https://your-site.com/webhook","nullable":true},"reset_api":{"type":"boolean","description":"When true, revokes the current API key (sets it to null). A new key is issued on the next Steam-token authentication.","example":true}}}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"tradelink_updated":{"type":"boolean","description":"Indicates if tradelink was successfully updated","example":true},"access_token_updated":{"type":"boolean","description":"Indicates if access token was successfully updated","example":true},"proxy_updated":{"type":"boolean","description":"Indicates if proxy was successfully updated","example":true},"steam_api_updated":{"type":"boolean","description":"Indicates if steam API key was successfully updated","example":true},"steam_api_msg":{"type":"string","description":"Additional message about steam API update (e.g., 'same_api' if key unchanged)","example":"same_api","nullable":true},"webhook_updated":{"type":"boolean","description":"Indicates if webhook was successfully updated","example":true},"webhook_msg":{"type":"string","description":"Additional message about webhook update (e.g., 'same_value' if webhook unchanged)","example":"same_value","nullable":true},"api_reset":{"type":"boolean","description":"Indicates the API key was revoked (set to null)","example":true},"msg":{"type":"string","description":"Error message if success is false","example":"Invalid tradelink","nullable":true}}}}}},"400":{"description":"Bad request - no fields provided","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"msg":{"type":"string","example":"At least one field (tradelink, access_token, proxy, steam_api, webhook, or reset_api) must be provided"}}}}}}}}},"/v1/force-check-trade":{"post":{"tags":["Buy items"],"summary":"Force check the status of a specific trade","description":"Manually triggers a status check for a trade. Can only be used by the buyer or seller of the trade, and is limited to once per hour per trade based on the last_updated timestamp.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Steam item ID to force check","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"Steam item ID (from steam_items table)","example":12345}},"required":["id"]}}},"required":true},"responses":{"200":{"description":"Force check response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","description":"Response message","example":"Force check requested successfully"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"msg":{"type":"string","enum":["Valid steam item ID is required","Trade not found","You are not authorized to force check this trade","Please wait X more minutes before requesting another force check","Failed to request force check"]}}}}}}}}},"/v1/get-items-list":{"get":{"tags":["Steam"],"summary":"Fetches items based on the game you pass as a query","description":"Responses are limited to 100 items.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"skip","in":"query","description":"How many of the previous items need to be skipped","schema":{"type":"number","default":0}},{"name":"search","in":"query","description":"Search items by name, ex: asiimov","schema":{"type":"string"}},{"name":"brand","in":"query","description":"The specified category of game items, ex: rifle for CS:GO and Pants for Rust","schema":{"type":"string","enum":["knife","pass","key","sticker","pistol","shotgun","smg","machinegun","rifle","sniper_rifle","gloves","AK47u","Armored Metal Door","Balaclava","Bandana","Beenie","Bolt Rifle","Bone Club","Bone Knife","Boonie","Boots","Bucket Helmet","Burlap Gloves","Burlap Headwrap","Burlap Shirt","Burlap Shoes","Burlap Trousers","Cap","Coffeecan Helmet","Collared Shirt","Concrete Barricade","Crossbow","Deer Skull Mask","Double Barrel Shotgun","Grenade","Guitar","Hammer","Hatchet","Hide Halterneck","Hide Pants","Hide Poncho","Hide Skirt","Hoodie","Jacket","Large Wooden Box","Long TShirt","Longsword","Metal Facemask","Metal Torso Plate","Miner's Hat","Mp5","Pants","Pump Shotgun","Reactive Sign","Revolver","Rifle Helmet","Roadsign Jacket","Roadsign Kilt","Rock","Rocket Launcher","Salvaged Icepick","Salvaged Sword","Sandbag Barricade","Satchel Explosives","Semi Auto Pistol","Semi Auto Rifle","Sheet Metal Door","Shorts","Sleeping Bag","SMG","Snow Jacket","Stone Hatchet","Stone Pickaxe","Tank Top","Thompson","TShirt","Waterpipe Shotgun","Wooden Box","Wooden Door"]}},{"name":"order","in":"query","schema":{"type":"string","default":"desc","enum":["asc","desc"]}},{"name":"order_by","in":"query","description":"Return order","schema":{"type":"string","enum":["price","profit","discount"]}},{"name":"exterior","in":"query","description":"For CS:GO game","schema":{"type":"string","enum":["FN","MW","FT","WW","BS"]}},{"name":"max_price","in":"query","description":"1000 = 1$","schema":{"type":"number"}},{"name":"min_price","in":"query","description":"1000 = 1$","schema":{"type":"number"}},{"name":"game","in":"query","description":"Which game would you like to get items from","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"items":{"type":"array","items":{"$ref":"#/components/schemas/ItemsInventory"}},"count":{"type":"number","description":"Pagination cursor hint: skip + returned items, +1 when more results exist (not an exact total, except on the final page where it is exact)","example":101},"has_more":{"type":"boolean","description":"True when more items exist past this page","example":true}}}}}}}}},"/v1/fetch-my-inventory":{"get":{"tags":["Sell items"],"summary":"Fetch my inventory","description":"Fetch inventory, call this endpoint required before calling /get-my-inventory","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"Which game would you like to fetch items from","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"msg":{"type":"string","description":"The reason we couldn't get your inventory","nullable":true,"example":"Invalid Steam API key"},"total_inventory_count":{"type":"number","description":"How many items fetched from your inventory","example":120}}}}}},"429":{"description":"Too many requests. Limit for endpoint actions - 10 requests per 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}}}}},"/v1/get-my-inventory":{"get":{"tags":["Sell items"],"summary":"Get items that you can list for sale","description":"Items that you can list for sale","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"skip","in":"query","description":"How many of the previous items need to be skipped","schema":{"type":"number","default":0}},{"name":"game","in":"query","description":"Which game would you like to fetch items from","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"items":{"type":"array","items":{"$ref":"#/components/schemas/SteamItemInventory"}},"count":{"type":"number","example":5},"msg":{"type":"string","description":"If success is false then we provide a reason","nullable":true,"example":"Skip is not a number"}}}}}}}}},"/v1/remove-items":{"get":{"tags":["Sell items"],"summary":"Remove item(s) by item id(s)","description":"Remove listed items from sale","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"id","in":"query","description":"Id of the item you can pass it like this id=123&id=345 to remove multiple","required":true,"schema":{"type":"number"}},{"name":"game","in":"query","description":"Which game would you like to remove item(s) from","required":true,"schema":{"type":"string","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"count":{"type":"number","example":1},"removed":{"type":"array","description":"Which items were removed","items":{"type":"number","example":141414146,"description":"Number or string depending on the game"}},"msg":{"type":"string","example":"Error"}}}}}}}}},"/v1/remove-all-orders":{"get":{"tags":["Buy order"],"summary":"Remove all buy orders by filters","description":"Remove all orders with filter by game.\n\nNote: If response success is false, then some orders may be not removed (due to timeout), removed count will be also available in that case","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"Which game would you like to remove orders from (without game param will remove all)","schema":{"type":"string","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","description":"If success is false then we provide a reason"},"count":{"type":"number","description":"How many orders were removed","example":55}}}}}}}}},"/v1/remove-all":{"get":{"tags":["Sell items"],"summary":"Remove all listings","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"Which game would you like to remove items from (without game param will remove all)","schema":{"type":"string","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"Remove all listings for all games","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"msg":{"type":"string","description":"If success is false then we provide a reason"},"count":{"type":"number","description":"How many items we removed"}}}}}}}}},"/v2/merchant/create-deposit":{"post":{"tags":["Merchant Deposit v2"],"summary":"Create merchant deposit","description":"Create a deposit for a user. You can create a deposit in two ways:\n\n1. Load a user's inventory BEFORE creating a deposit. Create a deposit with an already filled array of items (`steam_id`, `trade_url_token`, `game`, `items` ARE REQUIRED FOR THIS ACTION!).\n\n2. Create a deposit without items, call the /create-steam-offer method later.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"**Please open the schema to see the required fields and their descriptions**","content":{"application/json":{"schema":{"type":"object","description":"You can create a deposit in two ways:\n\n1. Load a user's inventory BEFORE creating a deposit. Create a deposit with an already filled array of items. (steam_id, trade_url_token, game, items ARE REQUIRED)\n\n2. Create a deposit without items, call the create-steam-offer method later.","required":["merchant","deposit_id"],"properties":{"merchant":{"type":"string","description":"Your merchant name","example":"mymerchant"},"deposit_id":{"type":"string","description":"Your unique custom deposit id (string, max 50 characters)","example":"123456asd","maxLength":50,"nullable":false},"steam_id":{"type":"string","description":"Steam ID (17 digits)","example":"76561198000000000","pattern":"^[0-9]{17}$","minLength":17,"maxLength":17,"nullable":true},"trade_url_token":{"type":"string","description":"Trade URL token (8 characters)","example":"abcdefgh","minLength":8,"maxLength":8,"nullable":true},"game":{"type":"string","description":"Game type","example":"csgo","enum":["csgo"],"nullable":true},"items":{"type":"array","description":"If you want a Steam offer to be created after this request, you must provide a list of Steam item IDs (asset IDs) as an array of strings.\n\n**Steam_id, trade_url_token and game are required when sending items!**","items":{"type":"string"},"example":["123","456","789"],"nullable":true}}}}},"required":true},"responses":{"200":{"description":"**Please open the schema to see the response structure, fields and their descriptions**","content":{"application/json":{"schema":{"type":"object","oneOf":[{"type":"object","required":["status","url","transaction_id","hash","listed","failed"],"properties":{"status":{"type":"string","example":"success"},"url":{"type":"string","description":"Redirect URL for the deposit. Redirect the user to this URL to complete the deposit if you are using a redirect for the deposit process.","example":"https://pay.waxpeer.com/merchant/mymerchant?hash=7USFcwzEvgxs6l2u3ow4IQxlgJBYEZZt"},"transaction_id":{"type":"integer","description":"Transaction ID of the deposit","example":123456},"hash":{"type":"string","description":"Hash identifier (Used for tracking the deposit on redirect or widget)","minLength":32,"maxLength":32,"example":"7USFcwzEvgxs6l2u3ow4IQxlgJBYEZZt"},"listed":{"type":"array","description":"List of successfully listed items (One trade will be created with these items)","items":{"type":"object","properties":{"name":{"type":"string","description":"Steam item name","example":"AWP | Asiimov (Field-tested)"},"item_id":{"type":"string","description":"Steam item_id (asset id) from user inventory","example":"141414144"},"price":{"type":"number","description":"Price of an item (1000 = 1$)","example":1000}}},"example":[{"name":"AWP | Asiimov (Field-tested)","item_id":"141414144","price":1000}]},"failed":{"type":"array","description":"List of items that failed to list (Trade will be without these items. Count them as canceled)","items":{"type":"object","properties":{"item_id":{"type":"string","description":"Steam item_id (asset id) from user inventory","example":"141414145"},"price":{"type":"number","description":"Price of an item (1000 = 1$)","example":1000},"name":{"type":"string","description":"Steam item name","example":"AWP | Asiimov (Field-tested)"},"error_message":{"type":"string","description":"Error message","example":"item_not_acceptable"}}},"example":[{"item_id":"141414145","price":1000,"name":"AWP | Asiimov (Field-tested)","error_message":"item_not_acceptable"}]}}},{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","description":"Description of the error","example":"invalid_merchant","enum":["invalid_merchant","invalid_deposit_id","invalid_steam_id","private_inventory","invalid_trade_token","required_params_missing","invalid_min_amount","invalid_max_amount","invalid_result_url","invalid_fail_url","invalid_success_url","invalid_priority_game","invalid_game","invalid_items","some_item_not_found","some_item_not_acceptable","internal_error","deposit_id_already_exists","user_not_tradable"]}}}]}}}},"403":{"description":"The API key was refused","content":{"application/json":{"schema":{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","example":"invalid_api","enum":["invalid_api"]}}}}}}}}},"/v2/merchant/steam-inventory":{"post":{"tags":["Merchant Deposit v2"],"summary":"Fetch user's Steam inventory","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"**Please open the schema to see the required fields and their descriptions**","required":true,"content":{"application/json":{"schema":{"type":"object","description":"","required":["merchant","game","steam_id","trade_url_token"],"properties":{"merchant":{"type":"string","description":"Your merchant name","example":"mymerchant","maxLength":30},"game":{"type":"string","description":"Game type","example":"csgo","enum":["csgo"]},"steam_id":{"type":"string","description":"Steam ID (17 digits)","example":"76561198000000000","pattern":"^[0-9]{17}$"},"trade_url_token":{"type":"string","description":"Trade URL token (8 characters)","example":"abcdefgh","minLength":8,"maxLength":8}}}}}},"responses":{"200":{"description":"**Please open the schema to see the response structure, fields and their descriptions**","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["status","items"],"properties":{"status":{"type":"string","example":"success"},"items":{"type":"array","description":"List of inventory items","items":{"type":"object","properties":{"item_id":{"type":"string","description":"Steam item_id (asset id) from user inventory","example":"141414145"},"icon_url":{"type":"string","description":"Item icon URL. If not starts with http, then could be used by adding https://community.akamai.steamstatic.com/economy/image/:icon_url","example":"-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpot621FAR17PLfYQJD_9W7m5a0mvLwOq7c2DMBupQn2eqVotqkiwHiqhdlMmigJtOWJwE5Zw3X8wS-yea8jcDo7c7XiSw0g89L9us"},"name":{"type":"string","description":"Steam item name","example":"AWP | Asiimov (Field-tested)"},"type":{"type":"string","description":"Steam item type","example":"Sniper Rifle"},"steam_price":{"$ref":"#/components/schemas/SteamPriceMerchantV2"},"limit":{"type":"number","description":"Number of items that we can accept. Should be greater than 0 for the item to be deposited","example":3},"instant_price":{"type":"number","description":"Price of an item. Should greater than 0 for the item to be deposited (1000 = 1$)","example":1000}}}}}},{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","description":"Description of the error","example":"invalid_merchant","enum":["invalid_merchant","invalid_game","unavaliable_inventory","empty_inventory","internal_error","private_inventory","user_not_tradable","invalid_trade_token"]}}}]}}}},"403":{"description":"The API key was refused","content":{"application/json":{"schema":{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","example":"invalid_api","enum":["invalid_api"]}}}}}}}}},"/v2/merchant/create-steam-offer":{"post":{"tags":["Merchant Deposit v2"],"summary":"Create Steam offer","description":"Create a Steam offer for user using **ONE OF** `deposit_id` **OR** `transaction_id`. \n\nYou can create a deposit without items and call this method later to create a Steam offer.\n\nYou have 15 minutes after creation a deposit to create a Steam offer. You can't create multiple Steam offers for one deposit.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"**Please open the schema to see the required fields and their descriptions**","required":true,"content":{"application/json":{"schema":{"type":"object","required":["merchant","steam_id","trade_url_token","game","items"],"description":"**ONE OF deposit_id OR transaction_id IS REQUIRED!**","properties":{"merchant":{"type":"string","description":"Your merchant name","example":"mymerchant","maxLength":30},"deposit_id":{"type":"string","description":"Your unique custom deposit ID (string, max 50 characters)","example":"123456asd","maxLength":50},"transaction_id":{"type":"integer","description":"Transaction ID","example":123456},"steam_id":{"type":"string","description":"Steam ID (17 digits)","example":"76561198000000000","pattern":"^[0-9]{17}$"},"trade_url_token":{"type":"string","description":"Trade URL token (8 characters)","example":"abcdefgh","minLength":8,"maxLength":8},"game":{"type":"string","description":"Game type","example":"csgo","enum":["csgo"]},"items":{"type":"array","description":"List of item IDs","items":{"type":"string"},"example":["123","456","789"]}}}}}},"responses":{"200":{"description":"**Please open the schema to see the response structure, fields and their descriptions**","content":{"application/json":{"schema":{"type":"object","oneOf":[{"type":"object","required":["status","url","transaction_id","hash","listed","failed"],"properties":{"status":{"type":"string","example":"success"},"url":{"type":"string","description":"Redirect URL for the deposit. Redirect the user to this URL to complete the deposit if you are using a redirect for the deposit process.","example":"https://pay.waxpeer.com/merchant/mymerchant?hash=7USFcwzEvgxs6l2u3ow4IQxlgJBYEZZt"},"transaction_id":{"type":"integer","description":"Transaction ID of the deposit","example":123456},"hash":{"type":"string","description":"Hash identifier (Used for tracking the deposit on redirect or widget)","minLength":32,"maxLength":32,"example":"7USFcwzEvgxs6l2u3ow4IQxlgJBYEZZt"},"listed":{"type":"array","description":"List of successfully listed items (One trade will be created with these items)","items":{"type":"object","properties":{"name":{"type":"string","description":"Steam item name","example":"AWP | Asiimov (Field-tested)"},"item_id":{"type":"string","description":"Steam item_id (asset id) from user inventory","example":"141414144"},"price":{"type":"number","description":"Price of an item (1000 = 1$)","example":1000}}},"example":[{"name":"AWP | Asiimov (Field-tested)","item_id":"141414144","price":1000}]},"failed":{"type":"array","description":"List of items that failed to list (Trade will be without these items. Count them as canceled)","items":{"type":"object","properties":{"item_id":{"type":"string","description":"Steam item_id (asset id) from user inventory","example":"141414145"},"price":{"type":"number","description":"Price of an item (1000 = 1$)","example":1000},"name":{"type":"string","description":"Steam item name","example":"AWP | Asiimov (Field-tested)"},"error_message":{"type":"string","description":"Error message","example":"item_not_acceptable"}}},"example":[{"item_id":"141414145","price":1000,"name":"AWP | Asiimov (Field-tested)","error_message":"item_not_acceptable"}]}}},{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","description":"Description of the error","example":"invalid_merchant","enum":["invalid_merchant","invalid_steam_id","private_inventory","invalid_trade_token","invalid_game","invalid_items","required_params_missing","invalid_deposit_id","private_inventory","invalid_transaction_id","some_item_not_found","some_item_not_acceptable","deposit_expired","internal_error","user_not_tradable"]}}}]}}}},"403":{"description":"The API key was refused","content":{"application/json":{"schema":{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","example":"invalid_api","enum":["invalid_api"]}}}}}}}}},"/v2/merchant/deposit":{"get":{"tags":["Merchant Deposit v2"],"summary":"Fetch merchant deposit status","description":"Fetch the status of a merchant deposit using **ONE OF** `deposit_id` **OR** `transaction_id`.\n\nYou can use this endpoint to check the status of a deposit and get detailed information about it.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"merchant","in":"query","description":"Your merchant name","required":true,"schema":{"type":"string","maxLength":30}},{"name":"deposit_id","in":"query","description":"Your unique custom deposit ID (string, max 50 characters)","required":false,"schema":{"type":"string","maxLength":50}},{"name":"transaction_id","in":"query","description":"Transaction ID","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"**Please open the schema to see the response structure, fields, and their descriptions**","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["status","deposit"],"properties":{"status":{"type":"string","example":"success"},"deposit":{"type":"object","properties":{"transaction_id":{"type":"integer","description":"Transaction ID of the deposit","example":123456},"deposit_id":{"type":"string","description":"Your unique custom deposit ID","example":"123456asd"},"merchant":{"type":"string","description":"Merchant name","example":"mymerchant"},"steam_id":{"type":"string","description":"Steam ID (17 digits)","example":"76561198000000000"},"trade_url_token":{"type":"string","description":"Trade URL token (8 characters)","example":"abcdefgh"},"currency":{"type":"string","description":"Currency code (e.g., USD, EUR)","example":"USD"},"min_amount":{"type":"number","description":"Minimum amount","example":10},"max_amount":{"type":"number","description":"Maximum amount","example":100},"result_url":{"type":"string","description":"URL to send the result to","example":"https://yourwebsite.com/result"},"fail_url":{"type":"string","description":"URL to redirect to on failure","example":"https://yourwebsite.com/fail"},"success_url":{"type":"string","description":"URL to redirect to on success","example":"https://yourwebsite.com/success"},"game":{"type":"string","description":"Game","example":"csgo","enum":["csgo"]},"priority_game":{"type":"string","description":"Priority game (Used for the widget or redirect)","example":"csgo","enum":["csgo"]},"hash":{"type":"string","description":"Hash identifier (Used for tracking the deposit on redirect or widget)","minLength":32,"maxLength":32,"example":"7USFcwzEvgxs6l2u3ow4IQxlgJBYEZZt"},"widget":{"type":"boolean","description":"Flag to indicate widget usage","example":false},"steam_trade":{"type":"integer","description":"Internal ID of the associated Steam trade","example":789012},"created":{"type":"string","format":"date-time","description":"Timestamptz when the deposit was created","example":"2023-10-05T12:34:56Z"},"items":{"type":"array","description":"List of item IDs associated with the deposit","items":{"type":"string"},"example":["123","456","789"]},"steam_trade_data":{"type":"object","description":"Details about the Steam trade","properties":{"trade_id":{"type":"string","description":"Steam trade offer ID","example":"1234567890","nullable":true},"done":{"type":"boolean","description":"Trade completion status","example":true},"reason":{"type":"string","description":"Reason for failure (if any)","example":"Seller failed to accept","enum":["Buyer failed to accept","Seller failed to accept","Invalid buyer tradelink"],"nullable":true},"created":{"type":"string","format":"date-time","description":"Timestamptz when the trade was created","example":"2023-10-05T12:34:56Z"},"proccessed_time":{"type":"string","format":"date-time","description":"Timestamptz when the trade was sent","example":"2023-10-05T12:40:00Z"},"user":{"type":"object","description":"User details","properties":{"name":{"type":"string","description":"Cached user's Steam name","example":"SteamUser"},"avatar":{"type":"string","description":"Cached user's Steam avatar URL","example":"https://avatars.cloudflare.steamstatic.com/0ac149f87545bf80733f29d079e29c0904ceb171_full.jpg"},"steam_id":{"type":"string","description":"User's Steam ID","example":"76561198000000000"}}},"items":{"type":"array","description":"List of items in the trade","items":{"type":"object","properties":{"item_id":{"type":"string","description":"Steam item ID (asset ID)","example":"141414144"},"name":{"type":"string","description":"Item name","example":"AWP | Asiimov (Field-tested)"},"price":{"type":"number","description":"Price of the item (1000 = 1$)","example":1000},"give_amount":{"type":"number","description":"How much you received (1000 = 1$)","example":1000},"status":{"type":"number","description":"Status of the trade: \n\n6->Declined and refunded\n\n5->Completed\n\n4->Trade sent and can be accepted\n\n2->Waiting for seller to confirm trade on mobile\n\n1->Processing and creating the trade\n\n0->Waiting for user to buy more items and if the user doesn't buy more items then the status will automatically change with in a certain period","example":4}}}}}}}}}},{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","description":"Description of the error","example":"invalid_merchant","enum":["invalid_merchant","required_params_missing","invalid_transaction_id","invalid_deposit_id","deposit_not_found","internal_error"]}}}]}}}},"403":{"description":"The API key was refused","content":{"application/json":{"schema":{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","example":"invalid_api","enum":["invalid_api"]}}}}}}}}},"/v2/merchant/deposits":{"get":{"tags":["Merchant Deposit v2"],"summary":"Fetch a list of merchant deposits","description":"Fetch a list of merchant deposits within a specified date range. Limit 200 records per response.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"merchant","in":"query","description":"Your merchant name","required":true,"schema":{"type":"string","maxLength":30}},{"name":"steam_id","in":"query","description":"Steam ID (17 digits)","required":false,"schema":{"type":"string","pattern":"^[0-9]{17}$","example":"76561198000000000"}},{"name":"start","in":"query","description":"Start date in YYYY-MM-DD format","required":true,"schema":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","example":"2023-01-01"}},{"name":"end","in":"query","description":"End date in YYYY-MM-DD format","required":true,"schema":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","example":"2023-01-31"}},{"name":"start_from","in":"query","description":"Start from transaction ID (for pagination)","required":false,"schema":{"type":"integer","minimum":1,"example":123456}}],"responses":{"200":{"description":"**Please open the schema to see the response structure, fields, and their descriptions**","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["status","deposits","start_from"],"properties":{"status":{"type":"string","example":"success"},"deposits":{"type":"array","description":"List of deposits","items":{"type":"object","properties":{"transaction_id":{"type":"integer","description":"Transaction ID of the deposit","example":123456},"deposit_id":{"type":"string","description":"Your unique custom deposit ID","example":"123456asd"},"merchant":{"type":"string","description":"Merchant name","example":"mymerchant"},"steam_id":{"type":"string","description":"Steam ID (17 digits)","example":"76561198000000000"},"trade_url_token":{"type":"string","description":"Trade URL token (8 characters)","example":"abcdefgh"},"currency":{"type":"string","description":"Currency code (e.g., USD, EUR)","example":"USD"},"min_amount":{"type":"number","description":"Minimum amount","example":10},"max_amount":{"type":"number","description":"Maximum amount","example":100},"result_url":{"type":"string","description":"URL to send the result to","example":"https://yourwebsite.com/result"},"fail_url":{"type":"string","description":"URL to redirect to on failure","example":"https://yourwebsite.com/fail"},"success_url":{"type":"string","description":"URL to redirect to on success","example":"https://yourwebsite.com/success"},"game":{"type":"string","description":"Game type","example":"csgo","enum":["csgo"]},"priority_game":{"type":"string","description":"Priority game","example":"csgo","enum":["csgo"]},"hash":{"type":"string","description":"Hash identifier (Used for tracking the deposit on redirect or widget)","minLength":32,"maxLength":32,"example":"7USFcwzEvgxs6l2u3ow4IQxlgJBYEZZt"},"widget":{"type":"boolean","description":"Flag to indicate widget usage","example":true},"steam_trade":{"type":"integer","description":"Internal ID of the associated Steam trade","example":789012},"created":{"type":"string","format":"date-time","description":"Timestamp when the deposit was created","example":"2023-10-05T12:34:56Z"},"items":{"type":"array","description":"List of item IDs associated with the deposit","items":{"type":"string"},"example":["123","456","789"]},"steam_trade_data":{"type":"object","description":"Details about the Steam trade","properties":{"trade_id":{"type":"string","description":"Steam trade offer ID","example":"1234567890","nullable":true},"done":{"type":"boolean","description":"Trade completion status","example":true},"reason":{"type":"string","description":"Reason for failure (if any)","example":"Seller failed to accept","enum":["Buyer failed to accept","Seller failed to accept","Invalid buyer tradelink"],"nullable":true},"created":{"type":"string","format":"date-time","description":"Timestamptz when the trade was created","example":"2023-10-05T12:34:56Z"},"proccessed_time":{"type":"string","format":"date-time","description":"Timestamptz when the trade was processed","example":"2023-10-05T12:40:00Z"},"user":{"type":"object","description":"User details","properties":{"name":{"type":"string","description":"Cached user's Steam name","example":"SteamUser"},"avatar":{"type":"string","description":"Cached user's Steam avatar URL","example":"https://avatars.cloudflare.steamstatic.com/0ac149f87545bf80733f29d079e29c0904ceb171_full.jpg"},"steam_id":{"type":"string","description":"User's Steam ID","example":"76561198000000000"}}},"items":{"type":"array","description":"List of items in the trade","items":{"type":"object","properties":{"item_id":{"type":"string","description":"Steam item ID (asset ID)","example":"141414144"},"name":{"type":"string","description":"Item name","example":"AWP | Asiimov (Field-tested)"},"price":{"type":"number","description":"Price of the item (1000 = 1$)","example":1000},"give_amount":{"type":"number","description":"How much you received (1000 = 1$)","example":1000},"status":{"type":"number","description":"Status of the trade: \n\n6->Declined and refunded\n\n5->Completed\n\n4->Trade sent and can be accepted\n\n2->Waiting for seller to confirm trade on mobile\n\n1->Processing and creating the trade\n\n0->Waiting for user to buy more items and if the user doesn't buy more items then the status will automatically change with in a certain period","example":4}}}}}}}}},"start_from":{"type":"number","description":"Next transaction ID to use for pagination. If not present or response have no records, there are no more records to fetch","example":123456,"nullable":true}}},{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","description":"Description of the error","example":"invalid_merchant","enum":["invalid_merchant","invalid_steam_id","invalid_start","invalid_end","invalid_start_from","deposit_not_found","internal_error"]}}}]}}}},"403":{"description":"The API key was refused","content":{"application/json":{"schema":{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","example":"invalid_api","enum":["invalid_api"]}}}}}}}}},"/v2/merchant/webhook":{"get":{"tags":["Merchant Deposit v2"],"summary":"Fetch merchant webhook data","description":"Fetch the webhook status for a specific deposit using **ONE OF** `deposit_id` **OR** `transaction_id`.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"merchant","in":"query","description":"Your merchant name","required":true,"schema":{"type":"string","maxLength":30}},{"name":"deposit_id","in":"query","description":"Your unique custom deposit ID (string, max 50 characters)","required":false,"schema":{"type":"string","maxLength":50}},{"name":"transaction_id","in":"query","description":"Transaction ID","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"**Please open the schema to see the response structure, fields, and their descriptions**","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["status","data"],"properties":{"status":{"type":"string","example":"success"},"data":{"type":"object","description":"Webhook data object (null if not found)","nullable":true,"properties":{"transaction_id":{"type":"string","description":"Transaction ID of the deposit (BigInt)","example":"123456"},"deposit_id":{"type":"string","description":"Your unique custom deposit ID","example":"123456asd"},"steam_trade":{"type":"integer","description":"Internal ID of the associated Steam trade record","example":789012},"status":{"type":"string","description":"Webhook status. `waiting_next_attempt` means the webhook will be retried and not failed yet. The current total cumulative retry time for all 15 attempts is 9 hours","example":"completed","enum":["pending","waiting_next_attempt","failed","completed"]},"status_code":{"type":"number","description":"Webhook HTTP status code","example":200,"nullable":true},"created_at":{"type":"string","format":"date-time","description":"Timestamptz when the webhook was created","example":"2023-10-05T12:34:56Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamptz when the webhook was last updated","example":"2023-10-05T12:40:00Z"},"attempts":{"type":"array","description":"Webhook attempts history","items":{"type":"object","nullable":true,"properties":{"attempt":{"type":"number","description":"Attempt number","example":1},"status_code":{"type":"number","description":"Webhook HTTP status code","example":200},"created_at":{"type":"string","format":"date-time","description":"Timestamptz when the attempt was created","example":"2023-10-05T12:34:56Z"}}}}}}}},{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","description":"Description of the error","example":"invalid_merchant","enum":["invalid_merchant","required_params_missing","invalid_deposit_id","invalid_transaction_id","deposit_not_found","trade_not_found","webhook_not_found","internal_error"]}}}]}}}},"403":{"description":"The API key was refused","content":{"application/json":{"schema":{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","example":"invalid_api","enum":["invalid_api"]}}}}}}}}},"/v2/merchant/webhook/resend":{"post":{"tags":["Merchant Deposit v2"],"summary":"Resend merchant webhook","description":"Resend a previously `completed` **OR** `failed` webhook for a deposit using **ONE OF** `deposit_id` **OR** `transaction_id`.\n\nWill trigger a new webhook attempt without retries.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"**Please open the schema to see the required fields and their descriptions**","required":true,"content":{"application/json":{"schema":{"type":"object","description":"**ONE OF deposit_id OR transaction_id IS REQUIRED!**","required":["merchant"],"properties":{"merchant":{"type":"string","description":"Your merchant name","example":"mymerchant","maxLength":30},"deposit_id":{"type":"string","description":"Your unique custom deposit ID (string, max 50 characters)","example":"123456asd","maxLength":50},"transaction_id":{"type":"integer","description":"Transaction ID","example":123456}}}}}},"responses":{"200":{"description":"**Please open the schema to see the response structure, fields, and their descriptions**","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["status"],"properties":{"status":{"type":"string","example":"success"}}},{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","description":"Description of the error","example":"invalid_merchant","enum":["invalid_merchant","required_params_missing","invalid_deposit_id","invalid_transaction_id","deposit_not_found","trade_not_found","internal_error"]}}}]}}}},"403":{"description":"The API key was refused","content":{"application/json":{"schema":{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","example":"invalid_api","enum":["invalid_api"]}}}}}}}}},"/v2/merchant/webhooks":{"get":{"tags":["Merchant Deposit v2"],"summary":"Fetch a list of merchant webhooks","description":"Fetch a list of merchant webhooks filtered by optional status and paginated using `start_from`. \n\nLimit 200 records per response.","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"merchant","in":"query","description":"Your merchant name","required":true,"schema":{"type":"string","maxLength":30}},{"name":"status","in":"query","description":"Filter webhooks by status. If not provided, all statuses will be returned","required":false,"schema":{"type":"string","enum":["pending","waiting_next_attempt","failed","completed"]}},{"name":"start_from","in":"query","description":"Start from webhook ID (Optional for pagination)","required":false,"schema":{"type":"integer","minimum":1,"nullable":true}}],"responses":{"200":{"description":"**Please open the schema to see the response structure, fields, and their descriptions**","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["status","data"],"properties":{"status":{"type":"string","example":"success"},"data":{"type":"array","description":"List of webhooks","items":{"type":"object","properties":{"transaction_id":{"type":"string","description":"Transaction ID of the deposit (BigInt)","example":123456,"nullable":true},"deposit_id":{"type":"string","description":"Your unique custom deposit ID","example":"123456asd","nullable":true},"steam_trade":{"type":"integer","description":"Internal ID of the associated Steam trade","example":789012},"status":{"type":"string","description":"Webhook status. `waiting_next_attempt` means the webhook will be retried and not failed yet. The current total cumulative retry time for all 15 attempts is 9 hours","example":"completed","enum":["pending","waiting_next_attempt","failed","completed"]},"status_code":{"type":"number","description":"Webhook HTTP status code","example":200},"created_at":{"type":"string","format":"date-time","description":"Timestamptz when the webhook was created","example":"2023-10-05T12:34:56Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamptz when the webhook was last updated","example":"2023-10-05T12:40:00Z"},"attempts":{"type":"array","description":"Webhook attempts history","items":{"type":"object","nullable":true,"properties":{"attempt":{"type":"number","description":"Attempt number","example":1},"status_code":{"type":"number","description":"Webhook HTTP status code","example":200},"created_at":{"type":"string","format":"date-time","description":"Timestamptz when the attempt was created","example":"2023-10-05T12:34:56Z"}}}}}}},"start_from":{"type":"string","description":"Next webhook ID to use for pagination (BigInt)","example":123456}}},{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","description":"Description of the error","example":"invalid_merchant","enum":["invalid_merchant","invalid_status","invalid_start_from","internal_error"]}}}]}}}},"403":{"description":"The API key was refused","content":{"application/json":{"schema":{"type":"object","required":["status","error_message"],"properties":{"status":{"type":"string","example":"error"},"error_message":{"type":"string","example":"invalid_api","enum":["invalid_api"]}}}}}}}}},"/v1/get-steam-items":{"get":{"tags":["Steam"],"summary":"Fetches recommended item price and other info","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"From which app id get items","required":true,"schema":{"type":"string","enum":["730","570","440","252490"],"default":"730"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSteamItemsResponse"}}}}}}},"/v1/payment/currencies/trx":{"get":{"tags":["Payment"],"summary":"Get current TRX price","description":"Returns the current TRX price in USD","responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"price":{"type":"number","description":"Current TRX price in USD","example":0.234},"msg":{"type":"string","nullable":true,"description":"Error message if success is false"}}}}}}}}},"/v1/payment/tron-energy/cost":{"get":{"tags":["Payment"],"summary":"Get Tron energy cost estimate for an address","parameters":[{"name":"address","in":"query","description":"Tron wallet address to check energy cost for","required":true,"schema":{"type":"string","example":"TJnmJPpsbmfaLPmkxWz5EXKxUCtzdGSvcT"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"cost":{"type":"number","description":"Estimated energy cost (65000 or 131000)","example":65000},"msg":{"type":"string","nullable":true,"description":"Error message if success is false"}}}}}}}}},"/v1/payment/tron-energy/rent":{"post":{"tags":["Payment"],"summary":"Rent Tron energy for an address","description":"Rents Tron energy for the specified address, deducting the cost from the user's balance. The cost is determined by the current TRX price and the amount of energy required (5 TRX for 65000 energy or 10 TRX for 131000 energy).","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Tron energy rental request","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Tron wallet address to rent energy for","example":"TJnmJPpsbmfaLPmkxWz5EXKxUCtzdGSvcT"}},"required":["address"]}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"address":{"type":"string","description":"Tron wallet address that energy was rented for","example":"TJnmJPpsbmfaLPmkxWz5EXKxUCtzdGSvcT"},"total_cost":{"type":"number","description":"Amount deducted from user balance in cents","example":1170},"msg":{"type":"string","description":"Success or error message","example":"Successfully rented Tron energy for 1.17 USD (5 TRX)"}}}}}}}}},"/v1/steam-topup":{"post":{"tags":["Payment"],"summary":"Top up a Steam account wallet, paid from your Waxpeer balance","description":"Debits `amount` from your Waxpeer balance and credits the Steam account `give_amount`: give_amount = floor(amount × 10000 / price_bp), all in 1000 = $1 units. `price_bp` is what your account pays from its Waxpeer balance per $1 of Steam credit, ×10000: 10000 = face value (the default), 9600 = $96 for $100 on Steam (a 4 % discount), 10250 = $102.50 for $100. An account still on an older fee-based rate has `price_bp: null` and gets give_amount = amount − floor(amount × fee_bp / 10000) instead; GET /v1/steam-topup/validate?amount= always reports the exact give_amount. No other fee applies to Steam top-ups. give_amount must be between 100 ($0.10) and 1000000 ($1,000, the per-top-up cap of our Steam provider); outside that the top-up is refused before any money moves (e.g. `Max $1,000 per Steam top-up after your discount`). Quote it first with GET /v1/steam-topup/fee or GET /v1/steam-topup/validate?amount=. Passing the same `custom_id` twice returns the existing top-up instead of creating a second one, so retries are safe. Poll GET /v1/steam-topup for the final status: `canceled` means the money was returned to your balance. Refusals come back as `success: false` with `msg`; some also carry a machine-readable `code`: `kyc_required` (msg `Insufficient funds`: identity verification is what blocks the debit) and `withdraw_hold` (deposit funds still on hold, see `holdUntil`).","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["steam_login","amount"],"properties":{"steam_login":{"type":"string","description":"Steam account login to top up","example":"gaben"},"amount":{"type":"integer","description":"Gross amount to debit from your balance, 1000 = $1","example":5000},"custom_id":{"type":"string","description":"Your unique id for this top-up (A-Za-z0-9_- max 50 chars). Unique per your account; reusing it returns the existing top-up (idempotent)","example":"order-123"}}}}}},"responses":{"200":{"description":"Top-up state","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","nullable":true,"description":"Null on success, error message otherwise, e.g. `Max $1,000 per Steam top-up after your discount`","example":null},"code":{"type":"string","description":"Only on some refusals: `kyc_required` = finish identity verification to send this; `withdraw_hold` = this amount includes deposit funds that are still on hold","enum":["kyc_required","withdraw_hold"],"example":"withdraw_hold"},"holdUntil":{"type":"string","format":"date-time","description":"With `code: withdraw_hold`, when the held funds are expected to be released, if known"},"topup":{"$ref":"#/components/schemas/SteamTopup"}}}}}}}},"get":{"tags":["Payment"],"summary":"Check the status of a Steam top-up by id or custom_id","description":"Pass exactly one of `id` (the pay id returned on creation) or `custom_id` (your own id).","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"id","in":"query","description":"Pay id returned by POST /v1/steam-topup","required":false,"schema":{"type":"integer"}},{"name":"custom_id","in":"query","description":"Your custom_id passed on creation","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Top-up state","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","nullable":true,"description":"Null on success, error message otherwise","example":null},"topup":{"$ref":"#/components/schemas/SteamTopup"}}}}}}}}},"/v1/steam-topup/validate":{"get":{"tags":["Payment"],"summary":"Check whether a Steam login can be topped up","description":"Runs the same validation as POST /v1/steam-topup without moving money. `valid: true` means the login is supported for top-up. Pass `amount` to also get the exact `give_amount` the top-up would deliver (give_amount = floor(amount × 10000 / price_bp), all in 1000 = $1 units. `price_bp` is what your account pays from its Waxpeer balance per $1 of Steam credit, ×10000: 10000 = face value (the default), 9600 = $96 for $100 on Steam (a 4 % discount), 10250 = $102.50 for $100. An account still on an older fee-based rate has `price_bp: null` and gets give_amount = amount − floor(amount × fee_bp / 10000) instead; GET /v1/steam-topup/validate?amount= always reports the exact give_amount. No other fee applies to Steam top-ups. give_amount must be between 100 ($0.10) and 1000000 ($1,000, the per-top-up cap of our Steam provider); outside that the top-up is refused before any money moves (e.g. `Max $1,000 per Steam top-up after your discount`).) and the same amount checks as POST (`success: false` with `msg` on an invalid amount, one outside the min/max, or one whose give_amount is outside $0.10..$1,000).","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"steam_login","in":"query","description":"Steam account login to validate","required":true,"schema":{"type":"string"}},{"name":"amount","in":"query","required":false,"description":"Optional gross amount to quote, 1000 = $1","schema":{"type":"integer"}}],"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the check itself ran","example":true},"valid":{"type":"boolean","description":"Whether the login is supported for top-up","example":true},"msg":{"type":"string","nullable":true,"description":"Reason when valid is false","example":"Steam account is not available for top-up"},"amount":{"type":"integer","description":"Echo of the quoted amount, only when `amount` was passed and the check ran","example":5000},"give_amount":{"type":"integer","description":"What POST /v1/steam-topup would send to the Steam wallet for `amount`, 1000 = $1; at most 1000000 ($1,000)","example":5208},"price_bp":{"type":"integer","nullable":true,"description":"Your Steam top-up price: balance paid per $1 of Steam credit ×10000 (10000 = face value, 9600 = 4 % discount). Null on an older fee-based rate: use fee_bp","example":9600},"fee_bp":{"type":"integer","description":"The same rate as a fee in basis points of the amount, for older clients: 10000 − round(10^8 / price_bp) (an older fee-based rate reports its exact fee). NEGATIVE means a bonus (e.g. -417 at price_bp 9600); 0 at face value","example":-417}}}}}}}}},"/v1/steam-topup/fee":{"get":{"tags":["Payment"],"summary":"Your Steam top-up price, fee and amount limits","description":"The rate and limits POST /v1/steam-topup applies to your account, so a top-up can be quoted before it is sent: give_amount = floor(amount × 10000 / price_bp), all in 1000 = $1 units. `price_bp` is what your account pays from its Waxpeer balance per $1 of Steam credit, ×10000: 10000 = face value (the default), 9600 = $96 for $100 on Steam (a 4 % discount), 10250 = $102.50 for $100. An account still on an older fee-based rate has `price_bp: null` and gets give_amount = amount − floor(amount × fee_bp / 10000) instead; GET /v1/steam-topup/validate?amount= always reports the exact give_amount. No other fee applies to Steam top-ups. give_amount must be between 100 ($0.10) and 1000000 ($1,000, the per-top-up cap of our Steam provider); outside that the top-up is refused before any money moves (e.g. `Max $1,000 per Steam top-up after your discount`). `fee_bp` / `fee_percent` express the same rate as a fee for older clients and are NEGATIVE for a discount (a bonus). `min` / `max` bound `amount`; the $1,000 give_amount cap applies on top of `max` (at price_bp 9600 the largest amount is 960000).","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Fee and limits","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","nullable":true,"description":"Error message when success is false","example":null},"price_bp":{"type":"integer","nullable":true,"description":"Balance paid per $1 of Steam credit ×10000: 10000 = face value (the default), 9600 = $96 for $100 on Steam, 10250 = $102.50 for $100. give_amount = floor(amount × 10000 / price_bp). Null on an older fee-based rate: then give_amount = amount − floor(amount × fee_bp / 10000)","example":9600},"fee_bp":{"type":"integer","description":"The same rate as a fee in basis points of the amount, for older clients: 10000 − round(10^8 / price_bp) (an older fee-based rate reports its exact fee). NEGATIVE means a bonus: -417 at price_bp 9600; 0 at face value","example":-417},"fee_percent":{"type":"number","description":"fee_bp / 100, negative for a discount","example":-4.17},"min":{"type":"integer","description":"Minimum amount, 1000 = $1","example":1000},"max":{"type":"integer","description":"Maximum amount, 1000 = $1. Independently, give_amount may not exceed 1000000 ($1,000)","example":500000}}}}}}}}},"/v1/mass-info":{"post":{"tags":["Buy items"],"summary":"Fetch all listings by names","description":"Fetch all listings by names. The maximum names per request is 50\n\nFor csgo dopplers items 'phase' parameter available in response. Possible values: 'Emerald', 'Ruby', 'Sapphire', 'Black Pearl', 'Phase 1', 'Phase 2', 'Phase 3', 'Phase 4'\n\nRate limit shared with search by name endpoints and currently is 20 per minute for regular users (Disabled for partners)\n\nMaximum number of listings per name 50 (in ascending order of price)","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"Which game would you like to fetch items from","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"requestBody":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"array","description":"Array of items names (max 50)","items":{"type":"string","example":"AK-47 | Redline (Field-Tested)"}},"sell":{"type":"number","description":"Select listings (Set 1 to get listings)","example":1}}}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","$ref":"#/components/schemas/MassInfo"}}}},"429":{"description":"Too many queries. The limit for search endpoints actions to regular users is 20 requests per 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}}},"x-codegen-request-body-name":"body"}},"/v1/list-items-steam":{"get":{"tags":["Sell items"],"summary":"Get listed steam items","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"Which game would you like to fetch items from","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","example":"16037911576"},"price":{"type":"number","description":"Item price (1000 = 1$)","example":2367941},"date":{"type":"string","example":"2020-01-11T07:18:50.749Z"},"position":{"type":"number","example":1},"name":{"type":"string","example":"★ Butterfly Knife | Gamma Doppler (Factory New)"},"market_name":{"type":"string","example":"Gamma Doppler Phase 2"},"steam_price":{"$ref":"#/components/schemas/SteamPrice"}}}}}}}}}}},"post":{"tags":["Sell items"],"description":"Array of items (Recommended number of items per request is 100)\n\nRate limit of list/edit actions for each item_id is 2 requests per 120 seconds\n\nNote: For Rust items item_id must be a string type, since id is greater than the maximum for number type","summary":"List steam items from inventory","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"Which game would you like to fetch items from","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"number","description":"Steam item_id from /get-my-inventory endpoint. Rate limit of list/edit actions for each item_id is 2 requests per 120 seconds","example":141414144},"price":{"type":"number","description":"Item price (1000 = 1$)","example":1000}}}}}}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"msg":{"type":"string","description":"If success is false then we provide a reason which can be one of these: \n 1) invalid_input - Invalid item_id or price \n 2)item_not_in_inventory - You didn't fetch your inventory or not your item \n 3) missing_price \n 4) missing_item_id \n 5) no_steamid - You need to download our app or extension","example":"no items"},"listed":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"number","description":"item_id that you provided in the body will be returned. Rate limit of list/edit actions for each item_id is 2 requests per 120 seconds","example":141414144},"price":{"type":"number","description":"Listed price (1000 = 1$)","example":1000},"name":{"type":"string","description":"Item name","example":"AWP | Asiimov (Field-tested)"}}}},"failed":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"number","description":"item_id that you provided in the body will be returned. Rate limit of list/edit actions for each item_id is 2 requests per 120 seconds","example":141414145},"price":{"type":"number","description":"Listed price (1000 = 1$)","example":1000},"msg":{"type":"string","description":"Error message","example":"You can list your item after 40 seconds"},"msBeforeNext":{"type":"number","description":"Milliseconds before next possible update","example":39636}}}}}}}}}},"x-codegen-request-body-name":"items"}},"/v1/edit-items":{"post":{"tags":["Sell items"],"summary":"Edit price for listed items","description":"Array of items\n\nRate limit of list/edit actions for each item_id is 2 requests per 120 seconds\n\nNote: For Rust items item_id must be a string type, since id is greater than the maximum for number type\n\nSet the price to 0 to remove the item from sale\nThe number of items per request is limited to 50","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"Which game would you like to edit items from","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"number","description":"Steam item_id from /get-my-inventory endpoint","example":141414144},"price":{"type":"number","description":"Price of an item (1000 = 1$)","example":1000}}}}}}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"updated":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","description":"Item_id that you passed, if you didn't then it will just send you msg. Rate limit of list/edit actions for each item_id is 2 requests per 120 seconds","example":"141414144"},"price":{"type":"string","description":"New item price (1000 = 1$)","example":"1000"}},"description":"Items that were updated"}},"failed":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"number","description":"item_id that you provided in the body will be returned. Rate limit of list/edit actions for each item_id is 2 requests per 120 seconds","example":141414145},"price":{"type":"number","description":"Listed price (1000 = 1$)","example":1000},"msg":{"type":"string","description":"Reason why it failed to update","example":"You can update price after 40 seconds"},"msBeforeNext":{"type":"number","description":"Milliseconds before next possible update","example":39636}}}},"removed":{"type":"array","description":"Which items were removed","items":{"type":"number","example":141414146,"description":"Number or string depending on the game"}}}}}}}},"x-codegen-request-body-name":"items"}},"/v1/search-items-by-name":{"get":{"tags":["Buy items"],"summary":"Search available items by name(s)","description":"Usually used in combination with <a target='_blank' href='https://api.waxpeer.com/docs/#/Buy%20items/get_prices'>/v1/prices</a> as expand items group by name.\n\nIf you need stickers or steam price from an item, please use the <a target='_blank' href='https://api.waxpeer.com/docs/#/Buy%20items/get_v2_search_items_by_name'>v2 method</a>.\n\nRate limit shared with search by name endpoints and currently is 20 per minute for regular users (Disabled for partners)\n\nMaximum number of listings per name 50 (in ascending order of price)","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"Which game would you like to edit items from\n\nFor csgo dopplers items 'phase' parameter available in response. Possible values: 'Emerald', 'Ruby', 'Sapphire', 'Black Pearl', 'Phase 1', 'Phase 2', 'Phase 3', 'Phase 4'","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}},{"name":"names","in":"query","description":"Multiple queries of name, so you can pass it like this names=AK-47 | Aquamarine Revenge (Factory New)&names=AK-47 | Aquamarine Revenge (Factory New). Max 50 at once","required":true,"schema":{"type":"string"}},{"name":"minified","in":"query","description":"Will return additional data about items if set to 0","schema":{"type":"number","default":1,"enum":[0,1]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"items":{"type":"array","items":{"$ref":"#/components/schemas/SearchItemsByName"}}}}}}},"429":{"description":"Too many queries. The limit for search endpoints actions to regular users is 20 requests per 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}}}}},"/v2/search-items-by-name":{"get":{"tags":["Buy items"],"summary":"Search available items by name(s)","description":"Usually used in combination with <a target='_blank' href='https://api.waxpeer.com/docs/#/Buy%20items/get_prices'>/v1/prices</a> as expand items group by name.\n\nRate limit shared with search by name endpoints and currently is 20 per minute for regular users (No limits for partners)\n\nMaximum number of listings per name 50 (in ascending order of price)","parameters":[{"name":"api","in":"query","description":"Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>","required":true,"schema":{"type":"string"}},{"name":"game","in":"query","description":"Which game would you like to edit items from\n\nFor csgo dopplers items 'phase' parameter available in response. Possible values: 'Emerald', 'Ruby', 'Sapphire', 'Black Pearl', 'Phase 1', 'Phase 2', 'Phase 3', 'Phase 4'","schema":{"type":"string","default":"csgo","enum":["csgo","tf2","rust","dota2"]}},{"name":"name","in":"query","description":"Multiple queries of name, so you can pass it like this name=AK-47 | Aquamarine Revenge (Factory New)&name=AK-47 | Aquamarine Revenge (Factory New). Max 50 at once","required":true,"schema":{"type":"string"}},{"name":"minified","in":"query","description":"Will return additional data about items if set to 0","schema":{"type":"number","default":1,"enum":[0,1]}},{"name":"minified_stickers","in":"query","description":"Will return additional data about items if set to 0 (csgo game only)","schema":{"type":"number","default":1,"enum":[0,1]}},{"name":"steam_price","in":"query","description":"Will return recommended (steam) item price if set to 1","schema":{"type":"number","default":0,"enum":[0,1]}},{"name":"delivery_details","in":"query","description":"Will return delivery information if set to 1","schema":{"type":"number","default":0,"enum":[0,1]}},{"name":"ignore_phase","in":"query","description":"Will ignore phase filtering if set to 1","schema":{"type":"number","default":0,"enum":[0,1]}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"items":{"$ref":"#/components/schemas/SearchItemsByNameV2"}}}}}},"429":{"description":"Too many queries. The limit for search endpoints actions to regular users is 20 requests per 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequests"}}}}}}}},"components":{"schemas":{"MassInfo":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"type":"object","properties":{"AK-47 | Redline (Field-Tested)":{"type":"object","properties":{"listings":{"type":"array","items":{"type":"object","properties":{"price":{"type":"number","description":"Item price (1000 = 1$)","example":12100},"by":{"type":"string","description":"Sellers waxpeer id (Can be found in /user endpoint)","example":"1247ffd5-f437-4a30-9953-10eda7df6e17"},"item_id":{"type":"string","description":"Steam item id","example":27165625733},"name":{"type":"string","description":"Item name","example":"AK-47 | Redline (Field-Tested)"},"steam_price":{"type":"number","description":"Steam item price (1000 = 1$)","example":14100},"classid":{"type":"string","description":"Steam item classid","example":"3669724953"},"image":{"type":"string","description":"Steam item image","example":"https://steamcommunity-a.akamaihd.net/economy/image/class/730/3669724953"},"paint_index":{"type":"number","description":"Steam item paint_index (csgo)","example":123}}}},"orders":{"type":"array","description":"Currently disabled","items":{"type":"object"}},"history":{"type":"array","description":"Currently disabled","items":{"type":"object"}},"info":{"type":"object","description":"Currently disabled"}}},"★ Butterfly Knife | Gamma Doppler (Factory New)":{"type":"object","properties":{"listings":{"type":"array","items":{"type":"object","properties":{"price":{"type":"number","description":"Item price (1000 = 1$)","example":2050000},"by":{"type":"string","description":"Sellers waxpeer id (Can be found in /user endpoint)","example":"1247ffd5-f437-4a30-9953-10eda7df6e17"},"item_id":{"type":"string","description":"Steam item id","example":27165625734},"name":{"type":"string","description":"Item name","example":"★ Butterfly Knife | Gamma Doppler (Factory New)"},"paint_index":{"type":"number","description":"Paint index","example":572},"steam_price":{"type":"number","description":"Steam item price (1000 = 1$)","example":1709860},"classid":{"type":"string","description":"Steam item classid","example":"5035516602"},"image":{"type":"string","description":"Steam item image","example":"https://steamcommunity-a.akamaihd.net/economy/image/class/730/5035516602"},"phase":{"type":"string","nullable":true,"description":"Steam csgo item doppler phase. Available only on doppler items. Possible values: 'Emerald', 'Ruby', 'Sapphire', 'Black Pearl', 'Phase 1', 'Phase 2', 'Phase 3', 'Phase 4'","example":"Phase 4"}}}},"orders":{"type":"array","description":"Currently disabled","items":{"type":"object"}},"history":{"type":"array","description":"Currently disabled","items":{"type":"object"}},"info":{"type":"object","description":"Currently disabled"}}}}}}},"SearchItemsByName":{"type":"object","properties":{"name":{"type":"string","example":"★ Butterfly Knife | Gamma Doppler (Factory New)"},"price":{"type":"number","description":"Item price (1000 = 1$)","example":2050000},"image":{"type":"string","example":"https://steamcommunity-a.akamaihd.net/economy/image/class/730/5035516602"},"item_id":{"type":"string","example":"27165625734"},"phase":{"type":"string","nullable":true,"description":"Steam csgo item doppler phase. Available only on doppler items. Possible values: 'Emerald', 'Ruby', 'Sapphire', 'Black Pearl', 'Phase 1', 'Phase 2', 'Phase 3', 'Phase 4'","example":"Phase 4"},"float":{"type":"number","description":"Item float For CS:GO game","example":0.2447746992111206}}},"SearchItemsByNameV2":{"type":"object","properties":{"Glock-18 | Gamma Doppler (Field-Tested)":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"Glock-18 | Gamma Doppler (Field-Tested)"},"price":{"type":"number","description":"Item price (1000 = 1$)","example":2050000},"image":{"type":"string","example":"https://steamcommunity-a.akamaihd.net/economy/image/class/730/4887510722"},"item_id":{"type":"string","example":"27165625734"},"phase":{"type":"string","nullable":true,"description":"Steam csgo item doppler phase. Available only on doppler items. Possible values: 'Emerald', 'Ruby', 'Sapphire', 'Black Pearl', 'Phase 1', 'Phase 2', 'Phase 3', 'Phase 4'","example":"Phase 1"},"float":{"type":"number","description":"Item float For CS:GO game","example":0.2447746992111206},"steam_price":{"type":"number","description":"Steam item price (1000 = 1$)","example":1709860},"sticker_names":{"type":"array","description":"Sticker names","items":{"type":"string","example":"Sticker | FaZe Clan | Boston 2018"}},"stickers":{"type":"array","description":"Stickers","items":{"type":"object","properties":{"name":{"type":"string","example":"Sticker | FaZe Clan | Boston 2018"},"image":{"type":"string","example":"https://steamcdn-a.akamaihd.net/apps/730/icons/econ/stickers/boston2018/faze_clan.2e4d2a2e2e2a2e2a2e2a2e2a2e2a2e2a2e2a2a.png"},"wear":{"type":"number","example":0,"nullable":true},"slot":{"type":"number","example":1,"nullable":true},"price":{"type":"number","description":"Sticker price (1000 = 1$). If the sticker is not on sale, then the price will be 0","example":1000}}}}}}}}},"ItemsInventory":{"type":"object","properties":{"name":{"type":"string","example":"★ Butterfly Knife | Gamma Doppler (Factory New)"},"price":{"type":"number","description":"Item price (1000 = 1$)","example":4999},"float":{"type":"number","description":"Item float For CS:GO game","example":0.1452850103378296},"best_deals":{"type":"number","description":"The difference between the suggested price and the price of the item","example":541},"discount":{"type":"number","description":"Percentage difference between the suggested price and the price of the item","example":10},"steam_price":{"type":"number","description":"Suggested Steam price","example":5540},"image":{"type":"string","example":"https://steamcommunity-a.akamaihd.net/economy/image/class/730/520026599/200fx125f"},"item_id":{"type":"string","example":"27402864642"},"brand":{"type":"string","description":"Item category if specified","example":"pistol"},"type":{"type":"string","description":"Item type if specified","example":"Glock-18"},"phase":{"type":"string","nullable":true,"description":"Steam csgo item doppler phase. Available only on doppler items. Possible values: 'Emerald', 'Ruby', 'Sapphire', 'Black Pearl', 'Phase 1', 'Phase 2', 'Phase 3', 'Phase 4'","example":"Phase 4"}}},"MerchantUser":{"type":"object","properties":{"steam_id":{"type":"string","description":"Steam ID of the user"},"can_sell":{"type":"boolean","description":"Weather a user can list items"},"can_p2p":{"type":"boolean","description":"Weather a user can list items for p2p"},"tradelink":{"type":"string","description":"Tradelink of user"}}},"ChangeTradelinkBody":{"type":"object","properties":{"tradelink":{"type":"string","description":"New tradelink","example":"https://steamcommunity.com/tradeoffer/new/?partner=153212146&token=ssRe42do"}}},"EditBuyOrderBody":{"type":"object","properties":{"id":{"type":"number","description":"Buy order id","example":2007},"price":{"type":"number","description":"New price (1000 = 1$)","example":2007},"amount":{"type":"number","description":"New or old amount of items","example":5}}},"EditBuyOrderResponse":{"type":"object","properties":{"success":{"type":"boolean"},"msg":{"type":"string","nullable":true,"description":"If missing required parameter(s) then will respond with reason"},"id":{"type":"number","description":"Buy order id","example":2007},"amount":{"type":"number","description":"New amount","example":6},"price":{"type":"number","description":"New price (1000 = 1$)","example":2008}}},"TooManyRequests":{"type":"object","properties":{"success":{"type":"boolean"},"msg":{"type":"string","description":"Reason why request failed"},"msBeforeNext":{"type":"number","description":"Milliseconds before next request","nullable":true}}},"SendP2PTrades":{"type":"object","properties":{"id":{"type":"number","description":"ID of the trade in our system"},"costum_id":{"type":"string","description":"ID which you also can't use at the moment"},"trade_id":{"type":"number","description":"Steam trade id of this transaction"},"status":{"type":"string","description":"Status of the trade \n 5->Completed \n 6->Declined and Refunded \n 4->Trade Sent \n 1->Send the trade here \n 2-> Waiting for seller to confirm \n 0->waiting for user to buy more items  do not send items at this status \n "},"trade_message":{"type":"string","description":"Trade message which you need to include in trade"},"tradelink":{"type":"string","description":"Steam tradelink of reciever"},"done":{"type":"boolean","description":"Weather the trade is complete"},"for_steamid32":{"type":"string","description":"Reciever steamid32 which is a partner in steam tradelink"},"for_steamid64":{"type":"string","description":"Reciever steamid64"},"created":{"type":"string","description":"Time when the trade was created","example":"2019-08-04T19:58:14.112Z"},"send_until":{"type":"string","description":"Time when the trade will expire","example":"2019-08-17T10:33:49.931Z"},"items":{"type":"array","items":{"$ref":"#/components/schemas/SteamItemsToSend"}}}},"CheckTradelinkResponse":{"type":"object","properties":{"success":{"type":"boolean","example":false},"link":{"type":"string","description":"Your new tradelink","example":"https://steamcommunity.com/tradeoffer/new/?partner=900267897&token=P2YkRJOk"},"info":{"type":"string","nullable":true,"description":"Exact check response from Steam if failed","example":"You cannot trade with SteamUserName because they have a trade ban."},"msg":{"type":"string","description":"Our error message if failed","enum":["Invalid tradelink","Missing partner","Missing token","Your tradelink is incorect, please update it","You're banned for not accepting trades","We couldn't validate your trade link, either your inventory is private or you can't trade","Please set your steam inventory public","User has VACBAN or Game Ban","There was an error with tradelink,please try again"],"example":"We couldn't validate your trade link, either your inventory is private or you can't trade"},"token":{"type":"string","description":"Token from your tradelink","example":"P2YkRJOk"},"steamid32":{"type":"number","description":"Partner from your tradelink","example":900267897},"steamid64":{"type":"number","description":"Steamid64 from your tradelink","example":76561198000000000}}},"SteamItemsToSend":{"type":"object","properties":{"id":{"type":"number","description":"Id of the item","example":1},"item_id":{"type":"string","description":"Item id that you need to send via Steam","example":"16449372549"},"give_amount":{"type":"number","description":"Amount you will recieve for an item","example":11650},"image":{"type":"string","description":"Image of an item"},"price":{"type":"number","description":"Price at which you're selling an item (1000 = 1$)","example":12264},"game":{"type":"string","example":"CSGO"},"name":{"type":"string","example":"Five-SeveN | Monkey Business (Minimal Wear)"},"status":{"type":"number","description":"Status from the trade","example":1}}},"GetSteamItemsResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Item name","example":"AK-47 | Predator (Minimal Wear)"},"average":{"type":"number","description":"Item average price from our partners (1000 = 1$)","example":12685},"game_id":{"type":"number","description":"App id","example":730},"type":{"type":"string","description":"Item type","example":"Rifle"},"collection":{"type":"string","nullable":true,"description":"Item collection. Only for 730 app id","example":"The Dust Collection"},"ru_name":{"type":"string","nullable":true,"description":"Russian item name if supported","example":"AK-47 | Хищник (Немного поношенное)"}}}}}},"CheckAvailability":{"type":"object","properties":{"success":{"type":"boolean","example":true},"items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","description":"Steam item id","example":27165625733},"selling":{"type":"boolean","description":"Is item on sale","example":true},"price":{"type":"number","description":"Item price (1000 = 1$)","example":1687470},"name":{"type":"string","description":"Item name","example":"★ Karambit | Fade (Factory New)"},"image":{"type":"string","description":"Item image","example":"https://steamcommunity-a.akamaihd.net/economy/image/class/730/310854699/200fx125f"}}}}}},"PricesDopplers":{"type":"object","properties":{"success":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Item hash name","example":"★ Butterfly Knife | Doppler (Factory New)"},"item_id":{"type":"string","description":"Item id","example":"27253164358"},"price":{"type":"number","description":"Item price (1000 = 1$)","example":"1380000"},"phase":{"type":"string","description":"Doppler phase","example":"Phase 3"},"steam_price":{"type":"number","description":"Item price on Steam (1000 = 1$)","example":"1453040"},"img":{"type":"string","description":"Item image","example":"https://steamcommunity-a.akamaihd.net/economy/image/class/730/5070448210/200fx125f"},"weapon":{"type":"string","description":"Item weapon","example":"Butterfly Knife"},"paint_index":{"type":"number","description":"Item paint index","example":420},"float":{"type":"number","description":"Item float","example":0.0460052728652954}}}},"msg":{"type":"string","description":"Error message if success is false","nullable":true,"example":"Wrong input"}}},"PricesSnapshot":{"type":"object","properties":{"success":{"type":"boolean"},"timestamp":{"type":"number","description":"Snapshot timestamp","example":1687297281},"items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","description":"Item id","example":"27253164358"},"price":{"type":"number","description":"Item price (1000 = 1$)","example":"1380000"},"name":{"type":"string","description":"Item hash name","example":"★ Butterfly Knife | Doppler (Factory New)"}}}},"msg":{"type":"string","description":"Error message if success is false","nullable":true,"example":"Snapshot not found"}}},"OrdersSnapshot":{"type":"object","properties":{"success":{"type":"boolean"},"timestamp":{"type":"number","description":"Snapshot timestamp","example":1687297281},"offers":{"type":"array","items":{"type":"object","properties":{"by":{"type":"string","description":"User waxpeer id","example":"1247ffd5-f437-4a30-9953-10eda7df6e17"},"max":{"type":"number","description":"Maximum order price (1000 = 1$)","example":"1380000"},"name":{"type":"string","description":"Item hash name","example":"★ Butterfly Knife | Doppler (Factory New)"}}}},"msg":{"type":"string","description":"Error message if success is false","nullable":true,"example":"Snapshot not found"}}},"MyHistory":{"type":"object","properties":{"success":{"type":"boolean","default":true},"data":{"type":"object","properties":{"trades":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"When trade was updated last time","example":"2022-10-29T23:58:17.318Z"},"created":{"type":"string","description":"When trade was created","example":"2022-10-29T23:52:17.318Z"},"id":{"type":"number","description":"Waxpeer trade id","example":4258120},"item_id":{"type":"string","description":"Steam item id before trade","example":"27341302961"},"give_amount":{"type":"number","description":"Item price without fee (1000 = 1$)","example":1898572},"image":{"type":"string","description":"Item image","example":"https://steamcommunity-a.akamaihd.net/economy/image/class/730/4839650857/200fx125f"},"price":{"type":"number","description":"Item price (1000 = 1$)","example":2019758},"trade_id":{"type":"number","description":"Steam trade id (if trade was created)","example":123456789,"nullable":true},"game":{"type":"string","description":"What game the item is from","example":"csgo"},"name":{"type":"string","description":"Item name","example":"★ Karambit | Gamma Doppler (Factory New)"},"market_name":{"type":"string","description":"Market name of an item (Usually part of market_hash_name, but includes doppler phases as on example)","example":"Gamma Doppler Phase 3"},"float":{"type":"number","description":"Item float","example":0.0460052728652954},"status":{"type":"number","description":"Status of the trade: \n\n6->Declined and refunded\n\n5->Completed\n\n4->Trade sent and can be accepted\n\n2->Waiting for seller to confirm trade on mobile\n\n1->Processing and creating the trade\n\n0->Waiting for user to buy more items and if the user doesn't buy more items then the status will automatically change with in a certain period","example":5},"average":{"type":"number","description":"Average steam price (1000 = 1$)","example":2419222},"action":{"type":"string","description":"Action","example":"buy","enum":["buy","sell"]},"is_released":{"type":"boolean","description":"Indicates whether the funds have been released after the 7-day hold period. When false with release_date present, the buyer has accepted the item but funds are on hold until release_date","example":false},"release_date":{"type":"string","format":"date-time","description":"The timestamp when funds will be released from hold and the trade will transition to final status. Only present when is_released is false and buyer has accepted the item","example":"2025-07-28T10:30:00.000Z","nullable":true}}}},"transactions":{"type":"array","items":{"type":"object","properties":{"wallet":{"type":"string","description":"Wallet"},"type":{"type":"string","description":"Type of transaction","example":"BTC"},"status":{"type":"string","description":"Status of transaction","example":"completed"},"amount":{"type":"string","description":"Received amount (1000 = 1$)","example":10256672},"give_amount":{"type":"string","description":"Amount of balance change after fee (1000 = 1$)","example":10256672},"direction":{"type":"string","description":"Direction of the transaction","example":"in"},"date":{"type":"string","description":"Date of transaction","example":"2022-01-22T01:22:43.021Z"}}}}}}}},"SteamItemInventory":{"type":"object","properties":{"item_id":{"type":"string","example":"24758826121"},"type":{"type":"string","description":"Item type if specified","nullable":true,"example":"Butterfly Knife"},"icon_url":{"type":"string","description":"Exact item image","example":"-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpovbSsLQJf0ebcZThQ6tCvq4GGqPD1PrbQqW9e-NV9j_v-5YT0m1HmlB81NDG3OtOcdlM5MF3Srla4wO-8h5PuucyawHo37HZxsXePnEe20xseaLBnhPSACQLJc-o5FQc"},"name":{"type":"string","example":"★ Butterfly Knife | Gamma Doppler (Factory New)"},"steam_price":{"$ref":"#/components/schemas/SteamPrice"}}},"SteamPrice":{"type":"object","properties":{"average":{"type":"number","description":"Average steam price (1000 = 1$)","example":2767941},"rarity_color":{"type":"string","description":"Rarity color of an item"},"rarity":{"type":"string","description":"Rarity type of an item"},"current":{"type":"number","description":"Latest steam price (1000 = 1$)","example":2633000},"name":{"type":"string","description":"Pricing item name (Usually market_hash_name, but includes doppler phases as on example)","example":"★ Butterfly Knife | Gamma Doppler Phase 2 (Factory New)"},"lowest_price":{"type":"number","description":"Lowest price listed on market (1000 = 1$)","example":2125555},"img":{"type":"string","description":"Use: https://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgposbaqKAxf0v73djxP4d2JkI-bh_vxIYTBnmpC7ZROjeXO9ofKhF2zowcDPzixc9OLIAU3ZFnVq1K8lO6518Lv786awSdqunYrsXnYnEGzghwYb-Jp0aOXHULeWfI9u5g-Fg","example":"-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpovbSsLQJf0ebcZThQ6tCvq4GGqPD1PrbQqW9e-NV9j_v-5YT0m1HllB81NDG3S9rEMFFrf1iC_QXqw7u9h5PqupTKyiNh6ClxtCvczUPmgUtPPbE-1qDISFicAqVXXP7V9p_o84A"}}},"User":{"type":"object","properties":{"wallet":{"type":"number","description":"User balance 1000=1$","example":1000},"id":{"type":"string","description":"Your waxpeer UUID","example":"11d6f117-1ad2-47e1-aca1-bcasdf9e37fa"},"userid":{"type":"number","description":"Your Waxpeer id","example":1},"id64":{"type":"string","description":"Your steamID 64","example":"765611983383140000"},"avatar":{"type":"string","description":"Your avatar","example":"https://www.gravatar.com/avatar/31609d41eb6ccb405b1984967693de76?d=identicon&r=pg&s=32"},"name":{"type":"string","example":"WAXPEER"},"sell_fees":{"type":"number","description":"Your cut, (1-sell_fee)*100. An example if you sell an item for 100$ you will get 95$ (100$ * 0.95)","example":0.95},"can_p2p":{"type":"boolean","description":"Weather you can list items to sell","example":true},"tradelink":{"type":"string","description":"Your tradelink","example":"https://steamcommunity.com/tradeoffer/new/?partner=378049039&token=XWpC4ZTT"},"login":{"type":"string","description":"Used to combine all your accounts into pack, only works for official app","example":"makc"},"ref":{"type":"string","description":"Referral code your account is using","example":"waxpeer"},"sell_status":{"type":"boolean","description":"Your sell status","example":true},"steam_api":{"type":"string","description":"Your saved steam api key","example":"54###A171A5C7B08CA287A###228C029"},"total_hold_amount":{"type":"number","description":"Total amount currently on hold from trade transactions (1000 = 1$)","example":5000}}},"PostUser":{"type":"object","nullable":true,"properties":{"api":{"type":"string","description":"Your target account Waxpeer API key","example":"1hbhbhodexkdei1axlc3ka7woibo2h16zoyidjv5wfwvqd6bty39e4086d110228"},"isNew":{"type":"boolean","description":"Whether the target account is new to Waxpeer","example":true}}},"ReadyToTransferP2P":{"type":"object","properties":{"id":{"type":"number","description":"Waxpeer trade id","example":1},"costum_id":{"type":"string"},"trade_id":{"type":"string","nullable":true,"example":"3547735377"},"tradelink":{"type":"string","description":"Your partners Steam tradelink","example":"https://steamcommunity.com/tradeoffer/new/?partner=14221897&token=i2yUssgF"},"trade_message":{"type":"string","description":"Trade message","nullable":true},"done":{"type":"boolean","description":"Is trade closed by our system","example":false},"stage":{"type":"number","description":"Our system trade stage (Can be ignored)","example":1},"creator":{"type":"string","description":"Who will create trade (buyer/seller). In most cases - seller","example":"seller"},"send_until":{"type":"string","description":"Time when the trade will expire","example":"2022-10-30T15:18:46.566Z"},"last_updated":{"type":"string","description":"Time when the trade was updated","example":"2022-10-30T15:13:08.139Z"},"for_steamid64":{"type":"string","description":"Your partners Steam id64","example":"76561198338314XXX"},"user":{"type":"object","properties":{"id":{"type":"string","description":"User id in our system","example":"182dbd1c-2es6-470s-z1q2-627xa6207211"},"avatar":{"type":"string","example":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/16/1622081f90ef78b0ca1372cae7663a2592939e00_medium.jpg"}}},"seller":{"type":"object","properties":{"id":{"type":"string","description":"Seller id in our system","example":"282dbd1c-2es6-470s-z1q2-627xa6207212"},"avatar":{"type":"string","example":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/16/1622081f90ef78b0ca1372cae7663a2592939e00_medium.jpg"}}},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number","description":"Waxpeer id of trade obtained during executing buy request","example":4258189},"item_id":{"type":"string","description":"Steam item id before trade","example":27165625733},"give_amount":{"type":"number","description":"Item price without fee (1000 = 1$)","example":25926},"merchant":{"type":"string","description":"Merchant identifier","nullable":true},"image":{"type":"string","description":"Item image","example":"https://steamcommunity-a.akamaihd.net/economy/image/class/730/5041964706/200fx125f"},"price":{"type":"number","description":"Item price (1000 = 1$)","example":27581},"game":{"type":"string","description":"What game the item is from","example":"csgo"},"name":{"type":"string","description":"Item name","example":"AWP | Neo-Noir (Minimal Wear)"},"status":{"type":"number","description":"Status of the trade: \n\n6->Declined and refunded\n\n5->Completed\n\n4->Trade sent and can be accepted\n\n2->Waiting for seller to confirm trade on mobile\n\n1->Processing and creating the trade\n\n0->Waiting for user to buy more items and if the user doesn't buy more items then the status will automatically change with in a certain period","example":0}}}}}},"SteamPriceMerchantV2":{"type":"object","properties":{"name":{"type":"string","description":"Steam item name","example":"AWP | Asiimov (Field-tested)"},"average":{"type":"number","description":"Average Steam price (1000 = 1$)","example":1222},"current":{"type":"number","description":"Latest Steam price (1000 = 1$)","example":1234},"img":{"type":"string","description":"Steam item icon URL. If not starts with http, then could be used by adding https://community.akamai.steamstatic.com/economy/image/:icon_url","example":"-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpot621FAR17PLfYQJD_9W7m5a0mvLwOq7c2DMBupQn2eqVotqkiwHiqhdlMmigJtOWJwE5Zw3X8wS-yea8jcDo7c7XiSw0g89L9us"},"lowest_price":{"type":"number","description":"Lowest price listed on Waxpeer market (1000 = 1$)","example":1212},"rarity_color":{"type":"string","description":"Rarity color of an item","example":"#b0c3d9"},"rarity":{"type":"string","description":"Rarity type of an item","example":"Covert"}}},"SteamWithdrawStatus":{"type":"object","properties":{"id":{"type":"number","description":"Waxpeer id of trade obtained during executing buy request","example":1},"price":{"type":"number","description":"Item price (1000 = 1$)","example":140},"name":{"type":"string","description":"Item name","example":"Nova | Sand Dune (Field-Tested)"},"status":{"type":"number","description":"Status of the trade: \n\n6->Declined and refunded\n\n5->Completed\n\n4->Trade sent and can be accepted\n\n2->Waiting for seller to confirm trade on mobile\n\n1->Processing and creating the trade\n\n0->Waiting for user to buy more items and if the user doesn't buy more items then the status will automatically change with in a certain period","example":4},"project_id":{"type":"string","description":"Project_id identifier (string [50])","example":"My_custom_project_identifier_asgd6ad8sg68gasgas8d","nullable":true},"custom_id":{"type":"string","description":"Our system identifier (You can ignore)","example":"224bdce2-as44-5ae6-be3g-1a80500de23s"},"trade_id":{"type":"string","description":"Recorded Steam trade id","example":"3547735377"},"done":{"type":"boolean","description":"Weather the trade is complete","example":false},"for_steamid64":{"type":"string","description":"Your partners Steam id64","example":"76561198338314XXX"},"reason":{"type":"string","description":"When the trade failed, we provide the reason: 'Buyer failed to accept', 'Seller failed to accept', 'Invalid buyer tradelink'","example":"Buyer failed to accept","nullable":true},"seller_name":{"type":"string","description":"Sellers name","example":"turboTrade"},"seller_avatar":{"type":"string","description":"Sellers avatar","example":"https://avatars.akamai.steamstatic.com/fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb_medium.jpg"},"seller_steam_joined":{"type":"number","description":"When seller joined Steam (May be different if the item is purchased as a gift)","example":1589314982},"seller_steam_level":{"type":"number","description":"Sellers steam lvl (May be different if the item is purchased as a gift or seller upgraded lvl after last login)","example":45,"nullable":true},"send_until":{"type":"number","description":"Time when the trade will expire","example":1566796475},"last_updated":{"type":"number","description":"Time when our system last checked the trade","example":1566796111},"counter":{"type":"number","description":"Our system counter (You can ignore)","example":10},"is_released":{"type":"boolean","description":"Indicates whether the funds have been released after the 7-day hold period. When false with release_date present, the buyer has accepted the item but funds are on hold until release_date","example":false},"release_date":{"type":"string","format":"date-time","description":"The timestamp when funds will be released from hold and the trade will transition to final status. Only present when is_released is false and buyer has accepted the item","example":"2025-07-28T10:30:00.000Z","nullable":true},"penalties":{"type":"object","description":"Rollback penalty information. Only present when the user is the buyer of a trade that was rolled back due to buyer fault (invalid tradelink, etc.) and rollback penalties were actually charged to the buyer's account","properties":{"rollback_fee":{"type":"number","description":"20% of item price charged as rollback fee","example":3000},"rollback_penalty":{"type":"number","description":"10% of item price charged as additional penalty","example":1500},"total_penalty":{"type":"number","description":"Combined total (rollback_fee + rollback_penalty)","example":4500}},"nullable":true}}},"SteamTopup":{"type":"object","properties":{"id":{"type":"integer","description":"Waxpeer pay id, use it to check status","example":812345},"custom_id":{"type":"string","nullable":true,"description":"Your custom_id passed on creation, null if none was passed","example":"order-123"},"status":{"type":"string","description":"created/sending = in flight; completed = Steam wallet credited (terminal); canceled = failed and fully refunded to your Waxpeer balance (terminal); error = failed ambiguously, contact support (terminal, not auto-refunded)","enum":["created","sending","completed","canceled","error"],"example":"completed"},"amount":{"type":"integer","description":"Gross amount debited from your balance, 1000 = $1","example":5000},"give_amount":{"type":"integer","description":"Amount sent to the Steam wallet, 1000 = $1: floor(amount × 10000 / price_bp), or amount − floor(amount × fee_bp / 10000) on an older fee-based rate; at most 1000000 ($1,000). Above `amount` when your price is a discount","example":4875},"steam_login":{"type":"string","description":"Steam account login being topped up","example":"gaben"},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}}}},"definitions":{}}