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

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

id
string<uuid>
required

Loan account identifier of the contract.

Example:

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

Response

OK

accounts
string[] | null
required

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
required

Asset the fee is held in.

Example:

"BRL"

loanAccountId
string
required

Loan account (uuid) of the contract reconciled.

Example:

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

retainedFee
string
required

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

Example:

"150.00"

status
enum<string>
required

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.

Available options:
MATCH,
DIVERGENT,
UNAVAILABLE
figures
object

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