Skip to main content
PATCH
Update webhook

Autorizaciones

X-API-Key
string
header
requerido

Merchant API key for authentication

Parámetros de ruta

webhook_id
string
requerido

Webhook endpoint identifier

Minimum string length: 1

Cuerpo

application/json
url
string<uri> | null

New webhook URL

Required string length: 1 - 2083
events
enum<string>[] | null

New event types

Minimum array length: 1
Opciones disponibles:
order.created,
order.status_changed
is_active
boolean | null

Enable or disable

description
string | null

New description

Maximum string length: 500

Respuesta

Successful Response

id
string
requerido

Webhook endpoint identifier

Ejemplo:

"ep_2bNzYPyBRuC1mMYXXAvgSSuz4Fz"

url
string
requerido

Webhook delivery URL

events
string[]
requerido

Subscribed event types

is_active
boolean
requerido

Whether the webhook is currently active

description
string | null

Webhook description

created_at
string<date-time> | null

Creation timestamp

secret
string | null

Signing secret (only returned on creation)