FINS Open Banking Accounts Experience API - Implementation Template
Data mappings
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
Module | Description |
---|---|
map-accounts-response | Script to map both list and retrieve accounts response. |
map-balances-response | Script to map retrieve account balances response. There are two balances returned: account balance and available balance. |
map-accounts-response
Script to map both list and retrieve accounts response.
Source:
./src/main/resources/dwl/map-accounts-response.dwl
Mapping Tables
Maps the Open Banking list and retrieve accounts response from a Core Banking lookup response.
Core Banking field | Open Banking field | Description |
---|---|---|
accountNumber | Data.Account.AccountId | The consumer identifier of the account |
accountStatus | Data.Account.AccountStatus | Current status of the account |
auditInfo.updatedDate | Data.Account.StatusUpdateDateTime | Last time the account was modified |
accountCurrency | Data.Account.Currency | Currency of the account |
accountType | Data.Account.AccountType | Actual type of the account |
depositAccountType, blockchainAccountType, or glAccountType | Data.Account.AccountSubType | Additional type identifier for certain account types |
name | Data.Account.Nickname | Display name of the account |
openedDate | Data.Account.OpeningDate | Date the account was opened |
map-balances-response
Script to map retrieve account balances response. There are two balances returned: account balance and available balance.
Source:
./src/main/resources/dwl/map-balances-response.dwl
Mapping Tables
Maps the Open Banking account balances response from a Core Banking lookup response.
Core Banking field | Open Banking field | Description |
---|---|---|
accountNumber | Data.Balance.AccountId | The consumer identifier of the account |
accountBalance and availableBalance | Data.Balance.AccountBalance | The balance amount |
accountCurrency | Data.Balance.Currency | Currency of the account |
Credit or Debit | Data.Balance.CreditDebitIndicator | Debit if balance is negative credit otherwise |
OpeningBooked and OpeningAvailable | Data.Balance.Type | Identifies each balance type |
auditInfo.updatedDate | Data.Balance.DateTime | Last time the account was modified |