---
title: "Update Webhook Endpoint"
method: PUT
path: "/webhooks/{id}"
---

# Update Webhook Endpoint

`PUT /webhooks/{id}`

## Request

- Base URL: `https://sandbox.openpayd.com/api`
- URL: `https://sandbox.openpayd.com/api/webhooks/{id}`
- Auth: API key in header `Authorization`

Update an existing Webhook Endpoint

## Path parameters

- `id` string, required

## Request body

- object
  - `url` string: URL of the webhook endpoint where enabled events will be posted.
  - `webhookEvents` object[]
    - `transactionType` string, required: Type of Transaction or event.<br>`DEPOSIT`, `PAYOUT`, `ACCOUNT_STATUS`, `PAY_IN`
    - `transactionStatus` string, required: PAYIN, PAYOUT, TRANSFER - `FAILED`, `CANCELLED`, `COMPLETED`, `PROCESSING`<br> PAY_IN - `COMPLETED`<br> ACCOUNT_STATUS - `COMPLETED`
  - `description` string: Optional description of what the webhook endpoint is used for
  - `enabled` boolean: Status of the webhook.

## Response `200`

200

- object

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/openpayd/apis/openpayd-api.md) - [All operations](https://skmtc.dev/openpayd/apis/openpayd-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openpayd/apis/openpayd-api/revisions/0f820ef79fab?raw)
