Withdrawals
Let users of a case or gaming site take out winnings as real skins in their Steam inventory.
Your server picks a skin, sets the most it will pay in USD and passes the recipient's Trade URL. SkinsMoney buys the item and sends the trade offer. Sites use it for skin withdrawals, prizes and rewards.
Anything that ends with "this user should get this skin" and is paid from your balance, not from the user's card.
Let users of a case or gaming site take out winnings as real skins in their Steam inventory.
Send tournament prizes or stream giveaways straight to each winner's Trade URL.
maxPrice caps every purchase in USD. If no offer fits under it, you are not charged.
custom must be unique within a service. A retried request with the same custom is rejected, so a network error cannot buy the skin twice.
GET /buys/for-sale with filter[name] and filter[max_price] returns items with their ID, price and float.
POST /buys with itemId or itemName, maxPrice and the recipient's tradeUrl. The price comes off your USD balance.
The recipient gets a Steam trade offer. Status 1 means it is waiting for them.
Receive IPNs on your purchase URL, or poll GET /buys/{id} and GET /buys/status/many. Status 2 is a completed purchase.
curl -X POST "https://api.skinsmoney.gg/v1/services/SERVICE_UUID/buys" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Accept: application/json" \
--json '{
"itemName": "AK-47 | Redline (Field-Tested)",
"maxPrice": 30,
"tradeUrl": "https://steamcommunity.com/tradeoffer/new/?partner=000&token=xxx",
"custom": "withdrawal-55120"
}'
{
"success": true,
"type": "response",
"data": {
"buyId": "01957697-0874-72b1-928d-de615dc24db8",
"steamOfferId": "1111111111",
"buyPrice": 27.41
}
}
A response with buyId means the order was placed, not that the skin was delivered. Wait for status 2 before you mark the withdrawal as done. If the order cannot start, you get success: false with a stable code, such as PRICE_EXCEEDS_MAX, INSUFFICIENT_FUNDS or STEAM_INVENTORY_IS_PRIVATE.
| Code | What it means |
|---|---|
2 | Completed. The recipient has the skin. |
1 | Trade offer sent, waiting for the recipient to accept it. |
3 | Purchase still processing upstream. Keep polling. |
-1 | The recipient did not accept the offer in time. |
-5 | The recipient cannot trade, for example because of a Steam trade hold. |
-10 | No offer was available under maxPrice when the order ran. |
-12 | The recipient's Steam inventory is private. |
-13, -14 | The trade was reversed after delivery. |
Most failed purchases fail on the recipient side: an account that cannot trade, a private inventory or an offer left until it expires. Ask users to make their inventory public and check their Trade URL before they request a withdrawal.
Send itemId to buy a specific offer from /buys/for-sale. Send itemName when you only care about the skin. SkinsMoney then buys its cheapest offer, as long as the price is within maxPrice.
Purchases come off your partner balance in USD. The order reserves maxPrice, so the balance has to cover it, and the difference is released once the real price is known. Check the balance with GET /v1/wallet/balance before large batches. The panel shows the funding methods available to your account.
The purchase ends with status -10. Fetch fresh offers and order again, or raise maxPrice if the item is still listed above your limit.
No, polling works too. An IPN URL for purchases gets you each status change as it happens and saves you a polling loop.
A partner account, a service with purchases enabled, an API key with your server IP on its allowlist and a positive balance.
Start with deposits, API purchases or both services. Create an account and talk to us about activating your integration.