Skip to main content
GET
Reconcile a contract's deferred origination fee

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

id
string<uuid>
requerido

Loan account identifier of the contract.

Ejemplo:

"550e8400-e29b-41d4-a716-446655440003"

Respuesta

OK

accounts
string[] | null
requerido

The contract's own deferred-fee accounts the figures were read from, one per chart the contract lived under, oldest first; always present, empty when the contract's charts defer no fee.

currency
string
requerido

Asset the fee is held in.

Ejemplo:

"BRL"

loanAccountId
string
requerido

Loan account (uuid) of the contract reconciled.

Ejemplo:

"550e8400-e29b-41d4-a716-446655440003"

retainedFee
string
requerido

Fee the contract record says was withheld at disbursement, summed over every tranche, as a fixed two-decimal string.

Ejemplo:

"150.00"

status
enum<string>
requerido

MATCH: the ledger deferred exactly the fee the contract retained. DIVERGENT: the two differ, or remaining is negative (the fee was earned more than once); figures.difference says by how much. UNAVAILABLE: the ledger did not answer, so figures is absent.

Opciones disponibles:
MATCH,
DIVERGENT,
UNAVAILABLE
figures
object

What the ledger holds on the fee accounts. Present on MATCH and DIVERGENT, absent on UNAVAILABLE.