Product Manager integration
HCU looks up the product behind each account in Product Manager and uses it to complete the List Banking Accounts response. Product Manager supplies the product name and category, plus the product's features, fees, deposit rates and lending rates. The product code mapping file fills the gaps for products that Product Manager does not describe.
How it worksβ
For each eligible account, HCU:
- Takes the Ultracsβ’ product code from the account ID (
S,IorLfollowed by one or two digits). An account with no product code is skipped. - Requests the product from the Product Manager internal lookup API (
banking/products/internal/<product code>), asking for version 7 with version 6 as the minimum. - Resolves
productNameandproductCategoryone attribute at a time, Product Manager first. If Product Manager returns no product, or no value for that attribute, HCU uses the row for the same product code in the product code mapping file. - Skips the account if either attribute is still unresolved after both sources.
- Derives
accountTypefrom the product code prefix and the resolved category:Iis a term deposit,Lis a loan, andSis a credit card only when the category isCRED_AND_CHRG_CARDS. - Copies
features,fees,depositRatesandlendingRatesfrom the Product Manager product into the response. These attributes have no mapping file fallback.
If the Product Manager call fails, HCU logs the error and continues as if Product Manager had returned nothing, so the mapping file is used for that account.
Because the resolved category is the single value used for both the response and the account classification, a category from Product Manager also decides accountType and the balance, loan, credit card and term deposit details built from it.
How HCU reaches Product Managerβ
Biza sets how HCU reaches Product Manager when it configures your HaaS Space:
| Setting | What HCU uses |
|---|---|
| Biza Product Manager (default) | Your Product Manager space, over HTTPS |
| Another product API | The host and base path of a product API you run, over HTTPS. Use it if you implement the Product Manager internal lookup API yourself. |
| Off | No Product Manager. productName and productCategory come only from the mapping file, and features, fees, depositRates and lendingRates are not populated. |
If you run HCU yourself, see Product Manager in Self-hosted configuration.
Product code mapping fileβ
The fallback file is the product code mapping file (productCodeMapping.tsv). Biza bundles the file you supply with your HCU deployment, or supplies its contents in your HaaS Space configuration instead. If there is no product code mapping file, HCU starts with an empty product mapping and relies on Product Manager alone. See Mapping files for the file format.
Limitationsβ
- A stale Product Manager record outranks a corrected mapping file row. To fix a product's name or category, correct it in Product Manager.
features,fees,depositRatesandlendingRatescome only from Product Manager. With Product Manager off, or when Product Manager has no record for the product, they are not populated.- HCU maps Product Manager product responses at version 7 or 6 only. Any other version is treated as a failed lookup, so the mapping file is used.
- An account whose product code starts with anything other than
S,IorLis skipped.