Skip to main content
PATCH
Update a webhook subscription

Authorizations

DPoP
string
header
required

Per-request DPoP proof JWT (RFC 9449). MUST accompany the Authorization: DPoP <access_token> header on every protected operation. The proof is signed by the merchant's private DPoP key and carries htm, htu, iat, jti, and ath claims.

Headers

Idempotency-Key
string
required

Unique key identifying this operation. Sending the same key twice returns the original response instead of creating a duplicate. Keys are retained for 24 hours.

Maximum string length: 255

Path Parameters

id
string
required
Pattern: ^whk_[a-zA-Z0-9]+$

Body

application/json

Partial update for PATCH /v1/webhooks/{id}. Include at least one field. metadata replaces the entire map. Status changes and secret rotation go through their dedicated endpoints.

url
string<uri>

New HTTPS delivery URL. Same validation rules as creation.

events
enum<string>[]

Full replacement event filter. Must be non-empty when present.

See Webhook Events for the full catalog and payload shapes. Some reserved event types (balance.low on some paths) may be defined but not yet dispatched — subscribing to them is safe but no deliveries arrive until they're wired up.

Available options:
payout.created,
payout.approved,
payout.processing,
payout.sent,
payout.completed,
payout.failed,
payout.cancelled,
payout.returned,
payout.screening_failed,
payout.velocity_blocked,
payout.engine_blocked,
beneficiary.created,
beneficiary.updated,
beneficiary.deleted,
beneficiary.blocked,
instrument.created,
instrument.updated,
instrument.deleted,
batch.uploaded,
batch.completed,
batch.failed,
fx.quote.created,
fx.exchange.created,
fx.exchange.completed,
fx.exchange.failed,
funding.credit,
screening.hit,
intelligence.evaluation.completed,
intelligence.evaluation.failed,
balance.low,
test
metadata
object

Response

The updated subscription (same shape as GET; the secret is never included).

data
object
required

A registered webhook endpoint and its event filter.