---
title: "Fetch merchant webhook data"
method: GET
path: "/v2/merchant/webhook"
tags: ["Merchant Deposit v2"]
---

# Fetch merchant webhook data

`GET /v2/merchant/webhook`

## Request

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

Fetch the webhook status for a specific deposit using **ONE OF** `deposit_id` **OR** `transaction_id`.

## Query parameters

- `api` string, required
- `merchant` string, required
- `deposit_id` string
- `transaction_id` integer

## Response `200`

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

- union
  - object
    - `status` string, required
    - `data` object, nullable, required: Webhook data object (null if not found)
      - `transaction_id` string: Transaction ID of the deposit (BigInt)
      - `deposit_id` string: Your unique custom deposit ID
      - `steam_trade` integer: Internal ID of the associated Steam trade record
      - `status` 'pending' | 'waiting_next_attempt' | 'failed' | 'completed': Webhook status. `waiting_next_attempt` means the webhook will be retried and not failed yet. The current total cumulative retry time for all 15 attempts is 9 hours
      - `status_code` number, nullable: Webhook HTTP status code
      - `created_at` string, date-time: Timestamptz when the webhook was created
      - `updated_at` string, date-time: Timestamptz when the webhook was last updated
      - `attempts` object[]: Webhook attempts history
        - `attempt` number: Attempt number
        - `status_code` number: Webhook HTTP status code
        - `created_at` string, date-time: Timestamptz when the attempt was created
  - object
    - `status` string, required
    - `error_message` 'invalid_merchant' | 'required_params_missing' | 'invalid_deposit_id' | 'invalid_transaction_id' | 'deposit_not_found' | 'trade_not_found' | 'webhook_not_found' | 'internal_error', 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/webhook/get.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)
