Purchase status

GET https://pay.skinout.gg/api/v1/withdraw/status

Метод возвращает статус ранее созданного вывода

Query Parameters

Name
Type
Description

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

Name
Type
Description

Api-Key*

String

{
    "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:

PARAM
DESCRIPTiON
payment_id

Purchase ID in your system

transaction_id

Purchase ID in the Skinout Pay system

steamid

User Steam64id

time

Purchase creation time in unix timestamp

skin

Object containing data about the purchased skin

status

Purchase status

amount

Purchase amount in USD * 1000

trade_id

Steam Trade Offer ID. 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.

Last updated