Skip to main content
PUT
Editar un webhook

Authorizations

x-api-key
string
header
required

API Key para autenticación. Formato: test_sk_xxx para testing, prod_sk_xxx para producción.

Path Parameters

webhookId
string
required

ID del webhook

Body

application/json
url
string<uri>
events
enum<string>[]
Minimum array length: 1
Available options:
delegation.completed,
invoice.completed,
invoice.failed,
batch.completed,
draft.review_required
headers
object | null
isActive
boolean

Response

Webhook actualizado

id
string
userId
string
url
string<uri>
headers
object | null

Headers propios que se agregan a cada envío

events
enum<string>[]
Available options:
delegation.completed,
invoice.completed,
invoice.failed,
batch.completed,
draft.review_required
isActive
boolean
createdAt
string<date-time>
updatedAt
string<date-time>