Skip to main content
PATCH
Update a webhook endpoint (platform)

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Encabezados

x-sp-step-up-token
string
requerido

Short-lived, single-use SimplePay recent-auth proof bound to this mutation and Idempotency-Key.

Required string length: 32 - 4096
Idempotency-Key
string
requerido
Required string length: 8 - 255

Parámetros de ruta

id
string
requerido
Pattern: ^spwe_[a-z0-9]{32}$

Cuerpo

application/json
description
string | null
Required string length: 1 - 500
enabled_events
enum<string>[]
Required array length: 1 - 64 elements
Opciones disponibles:
*,
account.capability.updated,
account.requirements.updated,
balance.available,
checkout.completed,
checkout.created,
checkout.expired,
dispute.closed,
dispute.created,
dispute.updated,
payment.canceled,
payment.created,
payment.failed,
payment.processing,
payment.succeeded,
payment_link.completed,
payment_link.created,
payment_link.deactivated,
payment_link.updated,
payout.canceled,
payout.created,
payout.failed,
payout.paid,
payout.updated,
refund.created,
refund.failed,
refund.succeeded,
refund.updated
status
enum<string>
Opciones disponibles:
active,
disabled
url
string<uri>
Maximum string length: 2048
Pattern: ^https://

Respuesta

2XX

Forwarded to the owning origin Worker.

Última modificación el 1 de septiembre de 2026