Buy item

POST /v1/items/{item_id}
application/json

Body Required

Responses

  • 204

    Item has been bought and now it waits for send by our bot

  • 400 application/json

    Item not available for sale

    Hide response attributes Show response attributes object
  • 402 application/json

    Your wallet balance is too small

    Hide response attributes Show response attributes object
POST /v1/items/{item_id}
curl \
 -X POST https://api.csgopaka.com/v1/items/{item_id} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"tradeUrl":"https://steamcommunity.com/tradeoffer/new/?partner=000\u0026token=xxx"}'
Request example
{
  "tradeUrl": "https://steamcommunity.com/tradeoffer/new/?partner=000&token=xxx"
}
Response examples (400)
{
  "success": false,
  "type": "error",
  "message": "specified item is not available for sale"
}
Response examples (402)
{
  "success": false,
  "type": "error",
  "message": "you dont have that much money in your wallet"
}