Skip to main content
GET
Reconcile a contract's held cash

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

id
string
required

The loan account (a UUID).

Response

OK

accounts
string[] | null
required

The contract's own held cash accounts at the ledger, one per chart it lived under that moved the account.

currency
string
required

The contract's currency.

Example:

"BRL"

lenderHeld
string
required

What the Lender holds for the borrower on this contract (2 d.p. string).

Example:

"2500.00"

loanAccountId
string<uuid>
required

The contract.

status
enum<string>
required

RECONCILED when both sides are equal, DIVERGENT when they are not, UNAVAILABLE when the ledger did not answer.

Available options:
RECONCILED,
DIVERGENT,
UNAVAILABLE
difference
string

ledgerHeld minus lenderHeld (2 d.p. string); absent when UNAVAILABLE. A posting still in the outbox shows here until the relay publishes it.

Example:

"0.00"

ledgerHeld
string

What the ledger holds on those accounts (2 d.p. string); absent when UNAVAILABLE.

Example:

"2500.00"