---
title: "Update webhook"
method: PUT
path: "/webhooks/url/config"
tags: ["SETUP"]
---

# Update webhook

`PUT /webhooks/url/config`

Updates the webhook configuration for the authenticated business.

## Headers

- `api-key` string
- `api-secret` string

## Request body

- UpdateWebhookConfigDto
  - `url` string, required — Webhook URL where events will be sent. Must be a valid HTTPS URL
  - `method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE', required
  - `headers` object — Custom headers to include in webhook requests. Common headers like Content-Type and Authorization can be specified here

## Response `200`

Webhook configuration updated successfully

- object

## Other responses

- `400` — Invalid input data or validation error
- `401` — Unauthorized - Invalid or missing authentication credentials
- `404` — Business not found

---

[API](https://skmtc.net/alfredpay/apis/alfred-penny-api-client-documentation.md) · [All operations](https://skmtc.net/alfredpay/apis/alfred-penny-api-client-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alfredpay/alfred-penny-api-client-documentation/revisions/6fdfb13fd2b1/schema)
