# Resend merchant webhook

`POST /v2/merchant/webhook/resend`

Resend a previously `completed` **OR** `failed` webhook for a deposit using **ONE OF** `deposit_id` **OR** `transaction_id`.

Will trigger a new webhook attempt without retries.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `api` | query | string | required | Your [WAXPEER API](https://waxpeer.com/profile/user) |

## Request body

```json
{
  "merchant": "mymerchant",
  "deposit_id": "123456asd",
  "transaction_id": 123456
}
```

## Example (curl)

```bash
curl -X POST 'https://api.waxpeer.com/v2/merchant/webhook/resend?api=%7B%7BAPI_KEY%7D%7D' \
  -H 'Content-Type: application/json' \
  -d '{
  "merchant": "mymerchant",
  "deposit_id": "123456asd",
  "transaction_id": 123456
}'
```

## Example response

```json
{
  "status": "success"
}
```

## Responses

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

## Notes for agents

- Auth is the query parameter `api`, not an Authorization header.
- See [/statuses.md](/statuses.md) for numeric trade status plus `escrow_status` / `release_date`.
- Prefer GET /v2/search-items-by-name over v1.
- Do not use GET /v1/ready-to-transfer-p2p; use the [trade websocket](/websocket.md).
