User

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.

post/v1/update-account

Request

  • Base URL
    https://api.waxpeer.com
  • Auth
    none declared

Query parameters

apistring required

Your <a target='_blank' href='https://waxpeer.com/profile/user'>WAXPEER API</a>

Request body

tradelinkstring

Steam trade URL

access_tokenstring

Steam access token in base64 format

refresh_tokenstring

Steam refresh token in base64 format (optional, used with access_token)

proxystring nullable

Proxy server for Steam API requests. Format: username:password@host:port. Pass empty string to clear.

steam_apistring

Steam API key (32 characters). Get it from https://steamcommunity.com/dev/apikey

webhookstring nullable

Webhook URL for notifications. Must be a valid HTTP/HTTPS URL. Pass empty string to clear.

reset_apiboolean

When true, revokes the current API key (sets it to null). A new key is issued on the next Steam-token authentication.

Example request

{
  "tradelink": "https://steamcommunity.com/tradeoffer/new/?partner=123456789&token=abcdefgh",
  "access_token": "<base64 of your Steam access token>",
  "refresh_token": "<base64 of your Steam access token>",
  "proxy": "user123:pass456@proxy.example.com:8080",
  "steam_api": "12345678901234567890123456789012",
  "webhook": "https://your-site.com/webhook",
  "reset_api": true
}

Response

successful operation

successboolean
tradelink_updatedboolean

Indicates if tradelink was successfully updated

access_token_updatedboolean

Indicates if access token was successfully updated

proxy_updatedboolean

Indicates if proxy was successfully updated

steam_api_updatedboolean

Indicates if steam API key was successfully updated

steam_api_msgstring nullable

Additional message about steam API update (e.g., 'same_api' if key unchanged)

webhook_updatedboolean

Indicates if webhook was successfully updated

webhook_msgstring nullable

Additional message about webhook update (e.g., 'same_value' if webhook unchanged)

api_resetboolean

Indicates the API key was revoked (set to null)

msgstring nullable

Error message if success is false

Example response

{
  "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"
}

Changes

No recorded changes to this operation across all 4 revisions of this API.