Kobana

Dunning as infrastructure for your product

A complete REST API v1, webhooks signed both ways, OpenAPI spec and Postman collection. Your system creates the charges; the engine handles the rest — with end-to-end idempotency.

Developer area with authentication, OpenAPI/Postman downloads and endpoint list
80+
endpoints in the API v1
25+
available resources
100%
API parity with the dashboard
4
layers of idempotency

Everything you need to integrate

REST API v1
People, charges, workflows, agreements, disputes, tasks, templates, notifications, audit and more. The same business rules and state machines as the dashboard.
Signed Webhooks
Inbound with an idempotent inbox (redelivery never duplicates) and outbound with HMAC signature and secret rotation via the dashboard or the API.
Interactive Documentation
OpenAPI (Swagger) spec and Postman collection generated by the system itself — import them and start exploring with your key.
Manageable Api-keys
Create, list and revoke keys in the developer area of the dashboard. Every key is tracked by origin and workspace.
Domain Actions
Endpoints that do what the operation does: notify a charge, accept an agreement, resolve a dispute, complete a task, issue a portal link, reclassify a customer.
Real Idempotency
Webhook inbox with a unique key, transactional outbox, deterministic jobId in the queue and a unique key per notification. Safe to retry at any layer.
Quick Start

From api-key to your first charge in the workflow

Create the person, create the charge and link it to a workflow. From there, the workflow follows the charge on its own: it notifies, offers an agreement, pauses on exceptions and closes out when payment arrives.

1
Generate your api-key in the developer area
2
Create a person and a charge via the API
3
Link it to the workflow and let the engine do the work
bash
# Create a person
curl -X POST https://app.dunning.kobana.com.br/api/v1/people \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Empresa Exemplo Ltda",
    "document": "12345678000190",
    "email": "financeiro@exemplo.com.br"
  }'

# Create a charge linked to a workflow
curl -X POST https://app.dunning.kobana.com.br/api/v1/charges \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "person_id": "per_123",
    "amount": 450.00,
    "due_date": "2026-08-15",
    "collection_rule_id": "rule_456"
  }'
Webhooks

Receive events in your system

Configure outbound endpoints and receive workflow events — charge paid, agreement accepted, dispute opened, notification delivered — with a verifiable signature.

  • HMAC signature on every delivery
  • Secret rotation: POST /v1/webhook-endpoints/{id}/rotate-secret
  • Queryable delivery history

Send payment events

In standalone mode, record payment signals with evidence and a confidence level — the engine stops the workflow instantly.

Example configuration
Create an endpoint and choose the events you want to receive
# Create a webhook endpoint
curl -X POST https://app.dunning.kobana.com.br/api/v1/webhook-endpoints \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://seusistema.com.br/webhooks/dunning",
    "events": ["charge.paid", "agreement.accepted", "dispute.opened"]
  }'
Outbound webhooks with delivery history and HMAC signature
Outbound webhooks with delivery history and HMAC signature.

Integration flow

From your Kobana account to telemetry in 6 steps.

1
Connect your Kobana account
OAuth2 login; the banking gateway is optional.
2
Generate your api-key
In the developer area of the dashboard.
3
Create people and charges
From your ERP or backend, via the API.
4
Link them to workflows
Each charge enters a frozen version of the workflow.
5
Subscribe to webhooks
Get payment, agreement, dispute and delivery events in real time.
6
Query the telemetry
The state of every step and the reason for every non-send, via the API.

Security at every layer

From authentication to audit, everything is built for collections operations that need to prove every step.

  • OAuth2 Kobana: unified identity with the platform
  • Revocable api-keys: control by key and workspace
  • Signed webhooks: HMAC with secret rotation
  • Rate limiting: protection on sensitive endpoints (portal and identity verification)
  • Immutable audit log: append-only, enforced by Postgres, queryable via the API
  • Portal tokens: stored only as a SHA-256 hash
Audit trail queryable via the API
Immutable audit log: trail queryable via the API.

Frequently asked questions

Ready to bring the workflow into your product?

Schedule a demo and see the API, the webhooks and the telemetry working with a full portfolio scenario.