Skip to content

Dibito REST API (1.1)

The Dibito REST API provides services to submit, verify and deliver eBills. The API is designed to be used by biller integrations.

Product Website

https://www.dibito.ch

API Key

This API requires an API key to be passed in the `X-API-Key` header.
Generate your API key in the Dibito application under "Dibito -> API Keys".

Further Informations

Consult our documentation for futher informations about creating and handling eBills.
Download OpenAPI description
Languages
Servers
Generated server url

https://app.dibito.ch/

Operations
Operations
Operations
Operations
Operations
Operations
Operations

Request

Create a new webhook for a specified type of event. The webhook will instantaneously become active and receive events. See the webhook definitions in the Webhooks section

Security
X-API-Key
Bodyapplication/jsonrequired
idinteger(int32)
eventTypestring
Enum"SUBSCRIPTION_STATUS_CHANGED_EVENTS""BILL_RECIPIENT_EMAIL_ADDRESS_CHANGED_EVENTS""BUSINESS_CASE_STATUS_CHANGED_EVENTS""INSTALMENT_STATUS_CHANGED_EVENTS""PROCESSING_STATUS_CHANGED_EVENTS"
hookUrlstring
curl -i -X POST \
  https://app.dibito.ch/api/v1/webhook/events \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "id": 0,
    "eventType": "SUBSCRIPTION_STATUS_CHANGED_EVENTS",
    "hookUrl": "string"
  }'

Responses

OK

Body*/*
idinteger(int32)
eventTypestring
Enum"SUBSCRIPTION_STATUS_CHANGED_EVENTS""BILL_RECIPIENT_EMAIL_ADDRESS_CHANGED_EVENTS""BUSINESS_CASE_STATUS_CHANGED_EVENTS""INSTALMENT_STATUS_CHANGED_EVENTS""PROCESSING_STATUS_CHANGED_EVENTS"
hookUrlstring

Request

Get all webhooks for this biller

Security
X-API-Key
curl -i -X GET \
  https://app.dibito.ch/api/v1/webhook \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Body*/*Array [
idinteger(int32)
eventTypestring
Enum"SUBSCRIPTION_STATUS_CHANGED_EVENTS""BILL_RECIPIENT_EMAIL_ADDRESS_CHANGED_EVENTS""BUSINESS_CASE_STATUS_CHANGED_EVENTS""INSTALMENT_STATUS_CHANGED_EVENTS""PROCESSING_STATUS_CHANGED_EVENTS"
hookUrlstring
]

Request

Delete an existing webhook

Security
X-API-Key
Query
webhookIdinteger(int32)required

Webhook ID

curl -i -X DELETE \
  'https://app.dibito.ch/api/v1/webhook?webhookId=0' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

OK

Operations
Operations
Operations
Webhooks
Operations