WebHook
Notification about a status change will be sent to the Withdraw Callback URL set in the project settings after each purchase status update.
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
WebHook signature
Purchase ID in your system
Purchase ID in the Skinout Pay system
Purchase creation time in unix timestamp
Object with data of the purchased skin
Purchase status. Possible values
Purchase amount in USD * 1000
Steam Trade Offer ID. (if the trade has been created)
Unix timestamp Time when trade offer cannot be reversed via Steam Trade protection The parameter will only be passed if tradeoffer was successfully sent in steam.
status possible values:
pending
Your request is being processed. The skin will be sent within 2 minutes
sent
Trade offer sent, waiting for the trade to be accepted by the user
accepted
Trade offer has been accepted by the user.
canceled
Trade offer has been canceled by the user, or the time to accept has expired.
error_invalid_token
Error. An invalid partner or token parameter was passed when creating the purchase
error_user_not_tradable
Error. User has restrictions on steam trades
error_inventory_private
Error. The user's inventory is hidden by privacy settings, sending trade offer is not possible.
error
Unknown error while sending the trade offer.
rollback_user
Trade offer canceled via Steam Trade Protection by user. Funds have been returned to the project balance.
rollback_provider
Trade offer canceled via Steam Trade Protection by provider. Funds have been returned to the project balance.
WebHook examples
Last updated