Sync with Waxpeer session to auto-fill API key

Create Steam offer

POST/v2/merchant/create-steam-offer

Create a Steam offer for user using ONE OF deposit_id OR transaction_id.

You can create a deposit without items and call this method later to create a Steam offer.

You have 15 minutes after creation a deposit to create a Steam offer. You can't create multiple Steam offers for one deposit.

Parameters

NameLocationTypeDescription
api
required
querystring

Request body

NameLocationTypeDescription
merchant
required
bodystring

Your merchant name

deposit_id
optional
bodystring

Your unique custom deposit ID (string, max 50 characters)

transaction_id
optional
bodyinteger

Transaction ID

steam_id
required
bodystring

Steam ID (17 digits)

trade_url_token
required
bodystring

Trade URL token (8 characters)

game
required
bodyenum

Game type

enum: csgo

items
required
bodyarray<string>

List of item IDs

Example
{
  "merchant": "mymerchant",
  "deposit_id": "123456asd",
  "transaction_id": 123456,
  "steam_id": "76561198000000000",
  "trade_url_token": "abcdefgh",
  "game": "csgo",
  "items": [
    "123",
    "456",
    "789"
  ]
}

Responses

200 **Please open the schema to see the response structure, fields and their descriptions**

Response
{
  "status": "success",
  "url": "https://pay.waxpeer.com/merchant/mymerchant?hash=7USFcwzEvgxs6l2u3ow4IQxlgJBYEZZt",
  "transaction_id": 123456,
  "hash": "7USFcwzEvgxs6l2u3ow4IQxlgJBYEZZt",
  "listed": [
    {
      "name": "AWP | Asiimov (Field-tested)",
      "item_id": "141414144",
      "price": 1000
    }
  ],
  "failed": [
    {
      "item_id": "141414145",
      "price": 1000,
      "name": "AWP | Asiimov (Field-tested)",
      "error_message": "item_not_acceptable"
    }
  ]
}