Saltar al contenido principal
GET
Reconcile a contract's held cash

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

id
string
requerido

The loan account (a UUID).

Respuesta

OK

accounts
string[] | null
requerido

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

currency
string
requerido

The contract's currency.

Ejemplo:

"BRL"

lenderHeld
string
requerido

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

Ejemplo:

"2500.00"

loanAccountId
string<uuid>
requerido

The contract.

status
enum<string>
requerido

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

Opciones disponibles:
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.

Ejemplo:

"0.00"

ledgerHeld
string

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

Ejemplo:

"2500.00"