Buy skin
POST https://pay.skinout.gg/api/v1/withdraw/buy
The method creates a request to purchase a skin
Headers
Content-Type*
String
application/json
Request Body
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
}{
"success": false,
"error": "Not enough funds on project balance to buy this skin"
}Response params description
payment_idPurchase ID in your system
transaction_idPurchase ID in the Skinout Pay system
timePurchase creation time in unix timestamp
skinObject containing data about the purchased skin
statusPurchase status
amountPurchase amount in USD * 1000
Last updated