buyback
What can still be bought back after selling.
A short window after a sale during which the merchant will sell an item back. The list empties on its own.
In Merchants.
Request
POST /api/v1/sessions/{accountKey}/actions/buyback
Takes no arguments.
Response
`{ items, frames }`.
| Field | Type | Meaning |
|---|---|---|
items[].price | integer | What buying it back costs — more than the sale paid. |
frames | integer | How many response frames the list arrived in; a diagnostic. |
Example response
{
"items": [
{ "price": 24, "shortName": "AdventurerBoots" }
],
"frames": 1
}
Errors
| Code | When |
|---|---|
action_failed | No character is in the lobby. |
See also
DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.