Partner API v3

Notification for partner integration deactivation

This webhook notifies you when a company has deactivated you as an integration partner, meaning you are no longer allowed to use the Partner API on said company.

postWebhookintegration.deleted

Payload

idstring required

Event ID prefixed with "event_". Can be used for deduplication.

event_created_atinteger required

Unix timestamp when the event happened, in seconds (UTC).

event_type'integration.deleted' required
data_version1 required

Example payload

{
  "id": "event_3f62fc97907a4212af028c30f1ea1927",
  "event_created_at": 1686089970,
  "data": {
    "company_key": "156077433683911cdca5fd4563bded979572454cb9",
    "vat_number": "SE556000475501"
  }
}

Response

Return a 200 status to acknowledge receipt of the webhook. Any other response will cause Kivra to retry the delivery.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.