Tech Guides
Persistent Entities in openg2p-spar-mapper-api
id_fa_mappings
Contains the records for id_value (beneficiary Id) and fa_value (Financial Address) mapping
Persistent Entities in openg2p-spar-self-service-api
dfsp_level and dfsp_level_values - are static tables that contain the information pertaining to the Banks (and other financial service providers), their branches. The use of these two tables are explained below using examples
dfsp_levels
The above data indicates that, to fully express the Financial Address of a Beneficiary's bank account, the self service platform needs to capture 3 attributes for the Financial Address, viz. Bank, Branch & Account
Similarly for a Mobile Number based Wallet, we can think of the following dfsp_level configuration
For a Email Address based Wallet, we can have the following dfsp_level configuration
The self-service-ui uses the api - "get_levels (parent)" to paint the UI fields to capture the input for these attributes - parent = 0, will provide the first level for the FA hierarchy
dfsp_level_values
For facilitating capture of a Bank Account, we can visualize the following dfsp_level_values configuration
The API - get_level_values (parent = 0, level_id = 1) - will yield the UI a drop down of these 3 banks.
The API - get_level_values (parent = 1, level_id = 2) - will yield the UI a drop down of these 3 branches for Bank One
login_providers
The API - get_login_providers - will provide the list of configured login_providers. The UI can then redirect itself to the redirect_url specified for that login_provider for the necessary authentication.
strategy
This table contains the construction and deconstruction strategies to be used for id_value and fa_value - that will be eventually stored in the mapper.
The strategy ID is mapped to the login_provider for ID Strategy.
The strategy ID is mapped to the dfsp_levels for FA Strategy.
Many Banks (and possibly all Banks) may use the same FA Strategy. Similarly, all mobile wallet providers may use a single FA Strategy (different from Banks).
Some examples of construction and de-construction strategies are as follows
ID - Construction Strategy --
ID - Deconstruction Strategy --
FA - Construction Strategy --
FA - Deconstruction Strategy --
APIs
Last updated