---
title: "Create merchant deposit"
method: POST
path: "/v2/merchant/create-deposit"
tags: ["Merchant Deposit v2"]
---

# Create merchant deposit

`POST /v2/merchant/create-deposit`

## Request

- Base URL: `https://api.waxpeer.com`
- URL: `https://api.waxpeer.com/v2/merchant/create-deposit`
- Auth: none declared

Create a deposit for a user. You can create a deposit in two ways:

1. Load a user's inventory BEFORE creating a deposit. Create a deposit with an already filled array of items (`steam_id`, `trade_url_token`, `game`, `items` ARE REQUIRED FOR THIS ACTION!).

2. Create a deposit without items, call the /create-steam-offer method later.

## Query parameters

- `api` string, required

## Request body

- object: You can create a deposit in two ways: 1. Load a user's inventory BEFORE creating a deposit. Create a deposit with an already filled array of items. (steam_id, trade_url_token, game, items ARE REQUIRED) 2. Create a deposit without items, call the create-steam-offer method later.
  - `merchant` string, required: Your merchant name
  - `deposit_id` string, required: Your unique custom deposit id (string, max 50 characters)
  - `steam_id` string, nullable: Steam ID (17 digits)
  - `trade_url_token` string, nullable: Trade URL token (8 characters)
  - `game` 'csgo', nullable: Game type
  - `items` string[], nullable: If you want a Steam offer to be created after this request, you must provide a list of Steam item IDs (asset IDs) as an array of strings. **Steam_id, trade_url_token and game are required when sending items!**

## Response `200`

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

- union
  - object
    - `status` string, required
    - `url` string, required: Redirect URL for the deposit. Redirect the user to this URL to complete the deposit if you are using a redirect for the deposit process.
    - `transaction_id` integer, required: Transaction ID of the deposit
    - `hash` string, required: Hash identifier (Used for tracking the deposit on redirect or widget)
    - `listed` object[], required: List of successfully listed items (One trade will be created with these items)
      - `name` string: Steam item name
      - `item_id` string: Steam item_id (asset id) from user inventory
      - `price` number: Price of an item (1000 = 1$)
    - `failed` object[], required: List of items that failed to list (Trade will be without these items. Count them as canceled)
      - `item_id` string: Steam item_id (asset id) from user inventory
      - `price` number: Price of an item (1000 = 1$)
      - `name` string: Steam item name
      - `error_message` string: Error message
  - object
    - `status` string, required
    - `error_message` 'invalid_merchant' | 'invalid_deposit_id' | 'invalid_steam_id' | 'private_inventory' | 'invalid_trade_token' | 'required_params_missing' | 'invalid_min_amount' | 'invalid_max_amount' | 'invalid_result_url' | 'invalid_fail_url' | 'invalid_success_url' | 'invalid_priority_game' | 'invalid_game' | 'invalid_items' | 'some_item_not_found' | 'some_item_not_acceptable' | 'internal_error' | 'deposit_id_already_exists' | 'user_not_tradable', required: Description of the error

## Other responses

- `403`: The API key was refused

## Changes

- **2026-11-19** `dd3dfdd641bb`: 2 info
  - added the non-success response with the status `403`
  - removed the `invalid_api` enum value from the `oneOf[subschema #2]/error_message` response property for the response status `200`

[Operation history](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/changes/v2/merchant/create-deposit/post.md)

---

[API](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system.md) - [All operations](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/llms.txt) - [OpenAPI document](https://skmtc.dev/waxpeer/apis/waxpeer-api-buy-sell-trade-items-via-p2p-system/revisions/dd3dfdd641bb?raw)
