Skip to content

Deposits with Several Trade Offers ​

A deposit is usually one Steam trade offer from one bot. Some deposits are sent as several trade offers from different bots — the items are split between the bots that buy them. The user has to accept every offer; each one is accepted, declined or expires on its own.

Every deposit response, the status endpoint and every webhook carry an offers array. For a regular deposit it has one entry; for a split deposit — one entry per trade offer.

json
"offers": [
  {
    "trade_offer_id": "9498412218",
    "bot_steam_id": "76561198991371151",
    "bot_name": "Kytu",
    "status": "completed",
    "trade_offer_expiry_at": "2026-11-20T12:05:24Z",
    "asset_ids": ["54486581252"],
    "amount": 0.43
  },
  {
    "trade_offer_id": "9498412324",
    "bot_steam_id": "76561199882503206",
    "bot_name": "wrotebus",
    "status": "active",
    "trade_offer_expiry_at": "2026-11-20T12:05:28Z",
    "asset_ids": ["51559129748", "54486582649"],
    "amount": 4.46
  }
]
FieldTypeDescription
trade_offer_idstring | nullSteam trade offer ID. null while the offer is still being sent
bot_steam_idstring | nullSteam ID of the bot that sent the offer (64-bit, as string)
bot_namestring | nullSteam name of the bot
statusstringOffer status: active (waiting for the user), hold, completed, canceled (declined or expired), reverted (rolled back in Steam after acceptance)
trade_offer_expiry_atstring | nullWhen the offer expires. Each offer expires on its own, about 20 minutes after it is sent
asset_idsstring[]Items of this offer. Present only for a split deposit
amountnumberUSD value of the offer's items credited to you; 0 for an offer that was not accepted

Offers come in the same order in every response. The flat bot_name, bot_steam_id and trade_offer_id fields of the deposit stay and describe the first sent offer of the list; the flat trade_offer_expiry_at is the latest expiry of all offers. Use offers to show the user all of them.

Show the user every offer ​

If you build your own UI (API Flow, Hash-Name Flow), list all offers with their bot names and links https://steamcommunity.com/tradeoffer/{trade_offer_id}/. A user who sees one link accepts one offer, and the rest expire — the deposit is then credited only partially.

The hosted page and the iframe already show each offer as its own card.

Sending several offers can take longer than the create request: the deposit may come back pending with an empty offers, or some offers may still have trade_offer_id: null. A split deposit sends one active webhook once every offer is sent — take the full list from it, or poll Deposit Status until the deposit is active and no offer is missing its ID.

Follow each offer ​

Every time one offer is accepted, declined, expires or is rolled back, you get an offer status webhook (event: "offer_status") and the deposit_offer_status_change event on the Status WebSocket. Each carries the offer that changed in offer and the full offers list — enough to show the user "accepted 2 of 3". The deposit status in them may stay active while other offers still wait.

Credit the user from the final webhook ​

The deposit has one status for all its offers:

OffersDeposit status
at least one still waits for the useractive
none accepted (all declined or expired)canceled
some accepted, at least one still on Steam holdhold
all accepted ones past the holdcompleted

When only part of the offers is accepted, the deposit amount in the hold / completed webhook is reduced to the accepted offers — it equals the sum of amount of the offers with status hold or completed.

WARNING

  • Credit the user with the amount from the hold / completed webhook, not with the amount returned when the deposit was created.
  • Do not credit per offer — neither on an offer_status webhook nor on a completed offer in offers: an accepted offer can still be rolled back during the Steam hold.

Rollbacks ​

If the user rolls back an accepted offer in Steam, all their trades under Steam protection are rolled back as well, so the whole deposit becomes reverted with fail_reason: user_reverted and the full amount is returned. The rolled-back offer shows status: reverted in offers.

If an offer is rolled back on the bot's side while the user did nothing wrong, the deposit stays in hold until our support settles it with you.