Skip to main content
POST
Registrar una suscripción de webhook

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Cuerpo

application/json
events
string[] | null
requerido

Business event types this subscription is delivered.

Ejemplo:
url
string<uri>
requerido

HTTPS endpoint that receives webhook deliveries for the request tenant.

Ejemplo:

"https://client.example.com/webhooks/slc"

active
boolean

Whether the subscription is active and eligible for delivery.

Ejemplo:

true

description
string

Optional human-readable label for the subscription.

Ejemplo:

"Primary settlement consumer"

headers
object

Optional static HTTP headers added to every delivery request to this endpoint.

secret
string

Raw signing secret used only to derive the SHA-256 HMAC signing key; never persisted or echoed in cleartext. In BYOC the real signing secret comes from the client's Kubernetes Secret.

timeoutSeconds
integer<int32>

Optional per-delivery HTTP timeout in seconds; omitted or zero applies the service default (10s).

Ejemplo:

10

Respuesta

Created

active
boolean
requerido

Whether the subscription is active and eligible for delivery.

Ejemplo:

true

createdAt
string<date-time>
requerido

Subscription creation timestamp (RFC3339, UTC).

Ejemplo:

"2026-06-15T07:50:00Z"

events
string[] | null
requerido

Business event types this subscription is delivered.

Ejemplo:
failureCount
integer<int64>
requerido

Cumulative count of failed delivery attempts.

Ejemplo:

3

id
string
requerido

Subscription id (UUID).

Ejemplo:

"018f8a3e-4b2c-7c1a-9e5d-2f6a1b3c4d5e"

lastDeliveryAt
string<date-time> | null
requerido

Timestamp of the most recent delivery attempt (RFC3339, UTC); null when none has occurred.

Ejemplo:

"2026-06-15T07:50:00Z"

lastDeliveryStatus
integer<int32> | null
requerido

HTTP status code of the most recent delivery attempt; null when none has occurred.

Ejemplo:

200

successCount
integer<int64>
requerido

Cumulative count of successful deliveries.

Ejemplo:

128

updatedAt
string<date-time>
requerido

Subscription last-update timestamp (RFC3339, UTC).

Ejemplo:

"2026-06-15T07:50:00Z"

url
string
requerido

HTTPS endpoint that receives webhook deliveries.

Ejemplo:

"https://client.example.com/webhooks/slc"

description
string

Human-readable label for the subscription.

Ejemplo:

"Primary settlement consumer"