API Documentation

Explore the documentation and get started with Skinify
Skins Withdraw Purchase History

Method for getting the history of all purchases.

HTTP Request

GET https://skinify.io/api/withdraw/history

GET Parameters
Parameter
Required
Description
start_date
Start date (unix timestamp)
end_date
End date (unix timestamp)
start_from
Required for pagination, passed if has_more=true in response
Response

The response will contain a items array, which contains the following data:

Parameter
Description
skin
Object containing data about the purchased skin
purchase_id
Purchase ID
purchase_status
Purchase status
  • processing — trade is being processed
  • waiting_accept — waiting for the user to accept trade
  • accepted — trade was accepted by the user
  • canceled — trade was rejected by the user
  • timeout — waiting time for accepting trade has ended (5 minutes)
  • error_invalid_token — invalid 'token' parameter was passed
  • error_user_not_tradable — user has restrictions on accepting trades
  • error_create_failed — failed to create trade (try again)
date
Purchase date (unix timestamp)
balance_debited_amount
The amount debited from the balance
custom_id
The custom_id you passed
steam_id
User's Steam ID
trade_offer_id
Steam Trade Offer ID (exists if only trade was created)
Response example
{ "status": "success", "items": [ { "skin": { "id": "11552", "name": "Crimson Pique", "price": "0.3", "properties": { "classid": "1723113626" } }, "purchase_id": "1", "purchase_status": "waiting_accept", "steam_id": "76561199191754048", "date": "1643713700", "balance_debited_amount": "0.3", "trade_offer_id": "123123123", "custom_id": "1234" }, { "skin": { "id": "11054", "name": "Taunt: Giddy Up!", "price": "0.3", "properties": { "classid": "959992716" } }, "purchase_id": "2", "purchase_status": "processing", "steam_id": "76561197972611406", "date": "1643714026", "balance_debited_amount": "0.3", "custom_id": "1234" } ], "total_count": "2000", "has_more": true, "start_from": 999 }
Possible Errors
Error
Description
missing_start_or_end_date
One of the required parameters is missing ('start_date' or 'end_date')