WebHook

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 signature verification

WebHook params description

PARAM
DESCRIPTION
signature

Webhook signature

payment_id

Deposit ID in your system

transaction_id

Deposit ID in Skinout Pay

time

Timestamp of deposit creation in Unix timestamp

steamid

User Steam64id

status

Deposit status. Can be - success, pending, failed

currency

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

currency_rate

Currency exchange rate to USD

amount_currency

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

amount_usd

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

skins

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
}

Last updated