Purchase status
GET https://pay.skinout.gg/api/v1/withdraw/status
Метод возвращает статус ранее созданного вывода
Query Parameters
payment_id*
String
Purchase IDs in your system, separated by a comma. *One of the payment_id or transaction_id parameters is required
transaction_id*
String
Purchase IDs in Skinout Pay system, separated by a comma.
*One of the payment_id or transaction_id parameters is required
Headers
{
"success": true,
"items": [
{
"payment_id": "1981682",
"transaction_id": "492541",
"steamid": "76561198023465270",
"time": "1738717329",
"status": "accepted",
"amount": 3641,
"trade_id": "7763774228",
"skin": {
"name": "Operation Phoenix Weapon Case",
"price": 3641
}
},
{
"payment_id": "1981683",
"transaction_id": "492542",
"steamid": "76561198159146013",
"time": "1738717350",
"status": "error",
"amount": 163,
"skin": {
"name": "Recoil Case",
"price": 163
}
}
]
}Response params description
The response will contain items array that includes the following data:
payment_idPurchase ID in your system
transaction_idPurchase ID in the Skinout Pay system
steamidUser Steam64id
timePurchase creation time in unix timestamp
skinObject containing data about the purchased skin
statusPurchase status
amountPurchase amount in USD * 1000
trade_idSteam Trade Offer ID. The parameter will only be passed if tradeoffer was successfully sent in steam.
time_settlementUnix timestamp Time when trade offer cannot be reversed via Steam Trade protection The parameter will only be passed if tradeoffer was successfully sent in steam.
status possible values:
pending
Your request is being processed. The skin will be sent within 2 minutes
sent
Trade offer sent, waiting for the trade to be accepted by the user
accepted
Trade offer has been accepted by the user.
canceled
Trade offer has been canceled by the user, or the time to accept has expired.
error_invalid_token
Error. An invalid partner or token parameter was passed when creating the purchase
error_user_not_tradable
Error. User has restrictions on steam trades
error_inventory_private
Error. The user's inventory is hidden by privacy settings, sending trade offer is not possible.
error
Unknown error while sending the trade offer.
rollback_user
Trade offer canceled via Steam Trade Protection by user. Funds have been returned to the project balance.
rollback_provider
Trade offer canceled via Steam Trade Protection by provider. Funds have been returned to the project balance.
Last updated