Buy item
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"
}
Request examples
{
"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"
}