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
  • WebHook params description
  • WebHook example
  1. Deposit skins

WebHook

PreviousDeposit historyNextWithdraw skins

Last updated 2 months ago

After changing the deposit status to success or failed, a status change notification will be sent to the Deposit Callback URL set in the project settings

Upon a successful deposit, you will also receive the deposit amount in the specified currency and the deposit amount in USD.

The service sends POST requests in JSON format with the "Content-Type: application/json" header.

To verify request, ensure that the signature parameter matches the MD5 hash of your API Key.

WebHook params description

PARAM
DESCRIPTION

Webhook signature

Deposit ID in your system

Deposit ID in Skinout Pay

Timestamp of deposit creation in Unix timestamp

User Steam64id

Deposit status. Can be - success, pending, failed

The currency in which the user will be shown the cost of the skins

Currency exchange rate to USD

Deposit amount in currency. Parameter will only be returned if status=success

Deposit amount in USD * 1000. This amount will be credited to the project balance in Skinout Pay. Parameter will be returned only if status=success

An array that contains a list of deposit skins and their cost. Parameter will only be returned if status=success

WebHook example

Success deposit webhook:

{
    "signature": "359284e6101157a294a4b3cdbee83f87",
    "payment_id": "394",
    "transaction_id": "84238",
    "time": "1689902243",
    "steamid": "76561198136965086",
    "status": "success",
    "currency": "USD",
    "currency_rate": 1,
    "amount_currency": "32.19",
    "amount_usd": 32190,
    "skins": [
        {
            "name": "AK-47 | Asimov (field-tested)",
            "price": 32190
        }
    ]
}

Failed deposit webhook

{
    "signature": "359284e6101157a294a4b3cdbee83f87",
    "payment_id": "394",
    "transaction_id": "84238",
    "time": "1689902243",
    "status": "failed",
    "currency": "USD",
    "currency_rate": 1
}
signature
payment_id
transaction_id
time
steamid
status
currency
currency_rate
amount_currency
amount_usd
skins
WebHook signature verification