Registrar una suscripción de webhook
Registra una suscripción de webhook para el tenant de la solicitud. El secreto en bruto se usa únicamente para derivar un hash SHA-256 (nunca se persiste en texto plano); en BYOC el secreto de firma real proviene del Secret de Kubernetes del cliente. La presencia/el tipo de los campos se valida contra el esquema (422); los fallos de reglas de negocio devuelven problem+json con código 400/409/422.
Autorizaciones
JWT bearer token issued by the identity provider.
Cuerpo
Business event types this subscription is delivered.
HTTPS endpoint that receives webhook deliveries for the request tenant.
"https://client.example.com/webhooks/slc"
Whether the subscription is active and eligible for delivery.
true
Optional human-readable label for the subscription.
"Primary settlement consumer"
Optional static HTTP headers added to every delivery request to this endpoint.
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.
Optional per-delivery HTTP timeout in seconds; omitted or zero applies the service default (10s).
10
Respuesta
Created
Whether the subscription is active and eligible for delivery.
true
Subscription creation timestamp (RFC3339, UTC).
"2026-06-15T07:50:00Z"
Business event types this subscription is delivered.
Cumulative count of failed delivery attempts.
3
Subscription id (UUID).
"018f8a3e-4b2c-7c1a-9e5d-2f6a1b3c4d5e"
Timestamp of the most recent delivery attempt (RFC3339, UTC); null when none has occurred.
"2026-06-15T07:50:00Z"
HTTP status code of the most recent delivery attempt; null when none has occurred.
200
Cumulative count of successful deliveries.
128
Subscription last-update timestamp (RFC3339, UTC).
"2026-06-15T07:50:00Z"
HTTPS endpoint that receives webhook deliveries.
"https://client.example.com/webhooks/slc"
Human-readable label for the subscription.
"Primary settlement consumer"

