API Documentation & Features

Orchestration Capabilities

Explore how Dukats transforms complex financial workflows into deterministic, auditable processes that scale with your marketplace.

Core Platform Capabilities

The foundational building blocks that power reliable financial orchestration.

Provider Event Normalization

Transform disparate provider events into a consistent, unified schema that your systems can rely on.

Normalize webhooks from Stripe, banks, and capital providers
Handle timing differences and failure modes gracefully
Eliminate ad-hoc event parsing across your codebase
Schema versioning for backward compatibility
Canonical Workflow State

Maintain a single source of truth for all orchestration decisions—no more ledger drift or reconciliation nightmares.

System-of-record for all workflow states
Automatic settlement delay handling
Dispute and refund state management
Real-time state inspection and querying
Deterministic Execution

State machines with idempotent actions ensure reproducible, predictable workflow outcomes every time.

Explicit, versioned state transitions
Idempotent action handlers prevent duplicates
Reproducible execution for debugging
Rollback and replay capabilities
Audit-Ready Logging

Compliance-ready audit trails with replayable history for SOC2, enterprise procurement, and investor diligence.

Full event history with source attribution
Replayable decision logs
SOC2 and enterprise procurement ready
Export capabilities for external auditors

Pre-Built Workflow Modules

Production-ready workflows for common marketplace financial operations.

Capital Advance Orchestration

Coordinate the entire lifecycle of contractor capital advances from application to repayment.

Handle funding requests, approval workflows, disbursement coordination with capital providers, and automatic state tracking through the advance lifecycle.

Payout Management

Complex contractor payout schedules with adjustments, holdbacks, and multi-currency support.

Manage payout timing, handle adjustments and corrections, coordinate holdbacks for repayments, and support multiple currencies and payment rails.

Repayment Deductions

Automatically deduct repayments from client payments or contractor earnings.

Configure repayment rules, handle partial payments gracefully, manage deduction priorities, and maintain complete audit trails for all deductions.

Reserve Logic

Manage loss buffers, shortfall handling, and reserve adjustments.

Implement configurable reserve requirements, handle shortfall scenarios, manage reserve releases, and track reserve utilization across your portfolio.

Technical Differentiators

Architecture decisions that make Dukats the right choice for your marketplace.

Non-Custodial Architecture

Dukats coordinates state and execution—we never custody funds, reducing your regulatory burden and liability.

Provider-Agnostic Design

Swap payment processors, banks, or capital providers without rewriting your orchestration logic.

Real-Time Webhooks

Receive instant notifications for state changes, enabling real-time updates in your application.

Full Observability

Dashboard visibility into all workflows, with alerting for anomalies and SLA violations.

Developer-First API

Clean, well-documented APIs designed for rapid integration.

// Initialize a capital advance workflow
const advance = await dukats.advances.create({
  contractorId: 'contractor_abc123',
  amount: 5000,
  currency: 'USD',
  repaymentSchedule: {
    type: 'percentage_of_earnings',
    rate: 0.10, // 10% of each payout
    maxDeduction: 500
  },
  capitalProvider: 'provider_xyz'
});

// Subscribe to workflow state changes
dukats.webhooks.subscribe({
  events: ['advance.funded', 'advance.repayment_made', 'advance.completed'],
  url: 'https://your-app.com/webhooks/dukats'
});

// Query current state
const state = await dukats.workflows.getState(advance.workflowId);
console.log(state.currentPhase); // 'funding_in_progress'
console.log(state.auditLog);     // Full history of state transitions

Ready to Simplify Your Financial Workflows?

Request a demo to see how Dukats can transform your marketplace's financial orchestration.