LogoLogo
  • EN
    • Entry
    • Authentication
  • WebHook signature verification
  • Deposit skins
    • Create deposit
    • Deposit status
    • Deposit history
    • WebHook
  • Withdraw skins
    • List of available skins
    • Skins search
    • Buy skin
    • Purchase status
    • Purchase history
    • WebHook
  • Other
    • Project balance
    • List of available currencies
  • ru
    • Вступление
    • Аутентификация
    • Проверка подписи WebHook
    • Депозит скинами
      • Создание депозита
      • Статус депозита
      • История депозитов
      • WebHook
    • Вывод скинов
      • Список доступных скинов
      • Поиск скинов
      • Покупка скина
      • Статус покупки
      • История покупок скинов
      • WebHook
    • Другое
      • Баланс проекта
      • Список доступных валют
Powered by GitBook
On this page
  1. Withdraw skins

Buy skin

PreviousSkins searchNextPurchase status

Last updated 5 months ago

CtrlK

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

Project Api-Key

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
}
{
    "success": false,
    "error": "Not enough funds on project balance to buy this skin"
}

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