Update account settings (tradelink, access token, proxy, steam API, and webhook)
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 | Location | Type | Description |
|---|---|---|---|
apirequired | query | string | Your WAXPEER API |
Request body
| Name | Location | Type | Description |
|---|---|---|---|
tradelinkoptional | body | string | Steam trade URL |
access_tokenoptional | body | string | Steam access token in base64 format |
refresh_tokenoptional | body | string | Steam refresh token in base64 format (optional, used with access_token) |
proxyoptional | body | string | Proxy server for Steam API requests. Format: username:password@host:port. Pass empty string to clear. |
steam_apioptional | body | string | Steam API key (32 characters). Get it from https://steamcommunity.com/dev/apikey |
webhookoptional | body | string | Webhook URL for notifications. Must be a valid HTTP/HTTPS URL. Pass empty string to clear. |
reset_apioptional | body | boolean | When true, revokes the current API key (sets it to null). A new key is issued on the next Steam-token authentication. |
{
"tradelink": "https://steamcommunity.com/tradeoffer/new/?partner=123456789&token=abcdefgh",
"access_token": "ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5...",
"refresh_token": "ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5...",
"proxy": "user123:[email protected]:8080",
"steam_api": "12345678901234567890123456789012",
"webhook": "https://your-site.com/webhook",
"reset_api": true
}Responses
200 successful operation
{
"success": true,
"tradelink_updated": true,
"access_token_updated": true,
"proxy_updated": true,
"steam_api_updated": true,
"steam_api_msg": "same_api",
"webhook_updated": true,
"webhook_msg": "same_value",
"api_reset": true,
"msg": "Invalid tradelink"
}400 Bad request - no fields provided
{
"success": false,
"msg": "At least one field (tradelink, access_token, proxy, steam_api, webhook, or reset_api) must be provided"
}