Skip to main content

Settlements API

Settlements represent on-chain payment confirmations. Invoica uses dual settlement detection (poll-based and event-driven) to ensure reliable payment verification.

Settlement Lifecycle

How Settlement Detection Works

Poll-Based

A background worker checks the blockchain every 15 seconds:

Event-Driven

WebSocket listeners monitor Transfer events in real-time:

Settlement Events

When a settlement status changes, webhook events are fired:

Configuration

Settlement detection is automatic for all invoices. Configure timing via environment:

Supported Networks