---
title: "Update a webhook"
method: PUT
path: "/webhook"
tags: ["Webhook"]
---

# Update a webhook

`PUT /webhook`

Update a webhook to receive notifications for transaction events

## Request body

- object
  - `url` string, string
  - `secret` string, string

## Response `200`

Webhook response

- object
  - `status` string, string
  - `data` Webhook
    - `url` string, string
    - `secret` string, string
    - `event` object
      - `event` string, string
      - `data` object
        - `message` string, string
        - `timestamp` string, date-time

## Other responses

- `400` — Unexpected error

---

[API](https://skmtc.net/stealthmoney/apis/mavapay-api.md) · [All operations](https://skmtc.net/stealthmoney/apis/mavapay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stealthmoney/mavapay-api/revisions/94cb0ddffad0/schema)
