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 verificationWebHook params description
signatureWebhook signature
payment_idDeposit ID in your system
transaction_idDeposit ID in Skinout Pay
timeTimestamp of deposit creation in Unix timestamp
steamidUser Steam64id
statusDeposit status. Can be - success, pending, in_hold, failed
time_settlementUnix timestamp time If deposit status is in_hold: shows the time when the deposit will move from in_hold status to success status, if the user does not cancel the tradeoffer
currencyThe currency in which the user will be shown the cost of the skins
currency_rateCurrency exchange rate to USD
amount_currencyDeposit amount in currency. Parameter will only be returned if status=success
amount_usdDeposit amount in USD * 1000. This amount will be credited to the project balance in Skinout Pay. Parameter will be returned only if status=success
itemsAn 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,
"items": [
{
"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