Skip to main content

Add Account

Description#

Add single account to Lucinity. The same API can be used to update accounts as well. The 'ID' property derived from BaseEntity usually maps to the uniquely identifiable record. Lucinity ingests input and emits the same account object for reference.

Endpoints#

TypeAPI Path
post/accounts

API Parameters#

Account

json

Account

Required

body

Account JSON passed in request body.

JSON Sample#

{ "id":"ACC99140294", "asOfDate":"2019-08-24", "accountType":"CURRENT", "bankCode":"0702", "accountAgreementId":"ACC99140294", "currencyCode":"ISK", "productId":"738983", "openedDate":"2019-08-24", "internal":true, "depositable":true, "withdrawable":true, "collateral":false, "terminated":false, "terminationDate":"", "accountInDefault":true, "accountInDefaultDays":7, "interest":{    "interestType":"DEPOSIT",    "interestCode":"X94",    "interestForm":"VARIABLE",    "interestRate":"0.025" }, "balance":{    "depositBalance":848204,    "depositBalanceLcy":"",    "depositDisposableBalance":"",    "depositDisposableBalanceLcy":"",    "loanBalance":"",    "loanBalanceLcy":"" }, "termDeposit":{    "termDepositType":"",    "termDepositPeriod":"",    "termDepositWithdrawalNotice":"",    "termDepositWithdrawalDate":"" }, "credit":{    "creditType":"",    "creditLimit":"",    "creditLimitLcy":"",    "creditUnused":"",    "creditUnusedLcy":"",    "creditIssueDate":"",    "creditFinalDate":"",    "creditCardNumberMasked":"" }, "loan":{    "loanType":"",    "loanPrincipal":"",    "loanPrincipalLcy":"",    "loanInstallment":"",    "loanSecured":"",    "loanPeriodRemaining":"",    "loanIssueDate":"",    "loanFinalDate":"" }}