Lending - Record Accrual Entries

post/das-rest/api/v1/lending/accruals

Record loan accrual entries on the DAS ledger.

Request Body

One of
loanAcct object required
Account descriptor for DAS
acctId string required
Account id for related ledger accounts
currency string required
A cryptocurrency or token ticker symbol.
Example: btc
type string required
The account types related to Lending
Allowed values: BG_CASHBOOK BG_HOLDING BG_CLEARING BG_RESERVED BG_RECEIVABLE BG_LIABILITY BG_LOAN BG_ACCRUAL
incomeType string required
The account type of the individual loan income account.
Allowed values: BG_RECEIVABLE BG_LIABILITY
loanId integer required
origin string required
origin of action as seen by requester, suitable for auditing the data flow and request chain; typically a JSON stringified set of request headers
accruals array[object]
An API object representing a single accrual.
quantity integer required
string representation of the (bigint) amount to accrue (in base units)
booked string required
ISO String representation of the recorded booked date/time.
Example: 2011-10-05T14:48:00.000Z
daxlId integer required
The DAXL Transaction Id of the accrual transaction in DAXL
termsId integer
The id (in DAXL) of the terms related to this accrual entry
daxlHeaderId integer
The transaction header id in DAXL, required if txId is omitted
txId string
The transaction id of the send (if available)
marketValue string
String representation of the transaction market value in cents
notation string required
Required notation for the entries, should specify lender or borrower accrual info