Skip to main content
Cancel a settlement expectation that is still in the PENDING state. Once cancelled, Idem stops watching for the transfer. Cancellation is permanent and cannot be undone.

Endpoint

Authorization

Requires an API key with the TRANSACTIONS_WRITE scope.

Path Parameters

string
required
The UUID of the settlement to cancel.

Request Example

Response

Returns 200 OK with the full updated settlement object (same shape as Get Settlement) showing status: CANCELLED. Cancellation does not set a dedicated timestamp field — confirmedAt stays null and expiresAt is dropped once the settlement leaves PENDING.

Error Codes

A 409 error means the settlement has already reached a terminal state (SETTLED or UNMATCHED). Terminal settlements cannot be cancelled.