Pular para o conteúdo principal
GET
Reconcile a contract's held cash

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

id
string
obrigatório

The loan account (a UUID).

Resposta

OK

accounts
string[] | null
obrigatório

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

currency
string
obrigatório

The contract's currency.

Exemplo:

"BRL"

lenderHeld
string
obrigatório

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

Exemplo:

"2500.00"

loanAccountId
string<uuid>
obrigatório

The contract.

status
enum<string>
obrigatório

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

Opções disponíveis:
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.

Exemplo:

"0.00"

ledgerHeld
string

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

Exemplo:

"2500.00"