Skip to main content
GET
List agreement divergences

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Query Parameters

organizationId
string<uuid>

Only the divergences related to accounts of this Midaz organization. It only filters: the permission covers all the tenant's divergences.

accountId
string<uuid>

Only the divergences of this Midaz account.

kind
enum<string>

Only the divergences of this kind.

Available options:
MISSING_IN_NUCLEA,
MISSING_LOCALLY,
ATTRIBUTE_MISMATCH,
SITUATION_MISMATCH
state
enum<string>

Only the divergences in this state.

Available options:
OPEN,
RESOLVING,
RESOLVED
adoptionBlockReason
enum<string>

Only the MISSING_LOCALLY divergences not adopted for this reason: a holder with several ledger accounts, or with none.

Available options:
AMBIGUOUS_ACCOUNT,
NO_LEDGER_ACCOUNT
cursor
string

Opaque cursor returned in nextCursor or prevCursor. Left out, the first page.

Maximum string length: 512
limit
integer<int64>
default:20

Most divergences per page.

Required range: 1 <= x <= 100
Example:

20

Response

OK. One page of divergences.

items
object[]
required

The page's divergences, oldest first.

limit
integer<int64>
required

Most divergences the page holds.

Example:

20

nextCursor
string | null

Cursor of the page after this one; null on the last page.

Maximum string length: 512
prevCursor
string | null

Cursor of the page before this one; null on the first page.

Maximum string length: 512