Trade Your Inventory

You can use the following guide to trade your WAX ExpressTrade inventory with another user.

  1. Get the other user’s trade URL. Refer to Get Trade URLs for more information.

  2. Get a list of item ids that you’d like to trade from your inventory.

    a. First, use the Get Trade Inventory endpoints to access your inventory items.

    b. From the Get Trade Inventory results, create your items list. This can be one item (e.g., 984414) or a comma-separated list of items (e.g., 984414,984415,984416).

Now that you have all of the required parameters, use the SendOffer endpoint to send an offer to the user.

Send a Gift


curl -X GET \
  https://api-trade.wax-sandbox.com/ITrade/SendOffer/v2 \
  -H "X-API-Key: 999d9ab99cde999a99cb9999df9999" \
  -H 'cache-control: no-cache' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode "items_to_send=984414" \
  --data-urlencode "trade_url=https://trade.sandbox-opskins.com/t/6434081/wi51dBJ1" \
  --data-urlencode "message=A gift for you."

Make a Trade

To send and receive items with another user:

  1. Get the other user’s inventory. Refer to Get Trade Inventory for more information.

  2. Make a trade request.

    
    curl -X GET \
      https://api-trade.wax-sandbox.com/ITrade/SendOffer/v2 \
      -H "X-API-Key: 999d9ab99cde999a99cb9999df9999" \
      -H 'cache-control: no-cache' \
      -H 'Content-Type: application/x-www-form-urlencoded' \
      --data-urlencode "items_to_send=984414" \
      --data-urlencode "items_to_receive=896091" \
      --data-urlencode "trade_url=https://trade.wax-sandbox.com/t/6434081/wi51dBJ1" \
      --data-urlencode "message=Let's make a trade."
    

Users get notifications on the WAX ExpressTrade site. They can click this notification, or navigate to the offers tab.

Refer to Get Trade Offers to request the offer status.

What's Next