Tradeoffer

❌ Decline a Trade Offer on Steam

Baseurl: https://www.steamwebapi.com/steam/api/trade/decline?key=YOUR_API_KEY

💬 **What this endpoint does:**
- Declines an existing trade offer on Steam.
- Requires Steam credentials and the trade offer ID.

🛠️ **Features:**
- Programmatically declines trade offers.
- Requires a valid `steamloginsecure` for authentication.

🌐 **How to use:**
- Provide the required parameters (`steamloginsecure` and `tradeofferid`) in the request body.
- Authenticate using your API key for access to the endpoint.
put/steam/api/trade/decline

Request

  • Base URL: https://www.steamwebapi.com
  • URL: https://www.steamwebapi.com/steam/api/trade/decline
  • Auth: API key in query parameter key

Query parameters

Your API key for authentication. Retrieve it from your Dashboard (top-right corner).

If you run in production, please set this to 1. Default is 0. This is in future required, and if not set, you will get a warning.

Request body

steamloginsecurestring required

SteamLoginSecure from the cookie of steamcommunity.com or via our extension for automated retrieval.

tradeofferidstring required

The trade offer ID to decline.

Example request

{
  "steamloginsecure": "76561198271552942||eyAidHlwIjogIkpXVCIsICJhbGciOiAiRWREU0EiIH0....",
  "tradeofferid": "1234567890"
}

Response

Trade offer successfully declined.

Changes

No recorded changes to this operation across all 1 revision of this API.