Skip to content
Back to News
Changelog

SDK 1.8.0 — Typed sandbox registration failure webhooks

sdkwebhooksplatformpeppol

We released @getpeppr/sdk v1.8.0. The WebhookEventType union now includes legal_entity.registration_failed, the platform webhook fired when a sandbox Legal Entity verifies successfully but its Peppol network registration fails.

Use this event to mark the Legal Entity as not sendable without polling the API. The payload carries:

  • status: "registration_failed" — the public lifecycle state shown by the API
  • reason — one of already_registered, invalid_format, or provider_error

This is a type-only SDK change. The webhook itself is already emitted by the gateway and selectable in the console webhooks dashboard.

Update

npm install @getpeppr/sdk@latest