Buy skin

POST https://pay.skinout.gg/api/v1/withdraw/buy

The method creates a request to purchase a skin

Headers

Name
Type
Description

Content-Type*

String

application/json

Api-Key*

String

Request Body

Name
Type
Description

project_id*

String

Project ID in Skinout Pay

skin_name

String

Skin name (market_hash_name)

*One of the parameters skin_name or skin_id is required

payment_id*

String

Purchase ID in your system. Must be unique for each purchase

skin_id

String

Skin ID obtained from the list of available skins *One of the parameters skin_name or skin_id is required

max_price

String

Maximum skin cost in currency USD * 1000.

This parameter can be used to limit price of the skin.

partner*

String

partner param from user Trade URL

token*

String

token param from user Trade URL

{
    "success": true,
    "payment_id": "1692224763052",
    "transaction_id": "8",
    "skin": {
        "name": "Nova | Plume (Factory New)",
        "price": 970
    },
    "time": "1692224763",
    "status": "sent",
    "amount": 970
}

Response params description

PARAM
DESCRIPTION
payment_id

Purchase ID in your system

transaction_id

Purchase ID in the Skinout Pay system

time

Purchase creation time in unix timestamp

skin

Object containing data about the purchased skin

status

Purchase status

amount

Purchase amount in USD * 1000

Last updated