HomeChoice Systems
|
+---------------+----------------+
| | |
AO (Online) CR (Credico) WA (WhatsApp)
| | |
v v v
+-------------------------------------------------+
| TechnoCore API Gateway |
| https://api.hcapi.co.za |
+-------------------------------------------------+
| | |
HCSCOREAO HCSCORECR HCSCOREWA
| | |
v v v
+-------------------------------------------------+
| bloom_hcscore |
| (Normalized scoring table) |
+-------------------------------------------------+
|
HCSCORE Workflow
|
+---------------+----------------+
| | |
HC_Prescore Country Routing Bureau Selection
|
+-----+------+------+------+
| | | | |
RSA LES NAM ESW MyData(future)
| | | |
Experian Bureau Calls
|
Scorecard Selection
(Paying/NonPaying/ThinFile)
|
Post-Score Processing
|
+---------+---------+
| |
AO Response CR/WA Response
(simplified) (full + gateway POST)
|
AO (Online) |
CR (Credico) |
WA (WhatsApp) |
| Webhook |
HCSCOREAO |
HCSCORECR |
HCSCOREWA |
| Input |
GUID, IDNumber, CellNo |
Full payload + Shortcode |
Full payload + Shortcode |
| Endpoint |
api.hcapi.co.za |
aouat.technocore.co.za/hook/hcscorecr |
aouat.technocore.co.za/hook/hcscorewa |
| Department |
46 (fixed) |
From shortcode mapping |
46 (fixed) |
| LeadOrigin |
Resolved from leads data (PostSql) |
14 (hardcoded) |
14 (hardcoded) |
| Response |
Simplified (AO_Score, AO_Strikethrough, AO_CST_Fraud) |
Full scoring + lead wording |
Full scoring + lead wording |
| Gateway callback |
None |
POST to hcawsgateway |
POST to hcawsgateway |
| New fields (UAT) |
N/A |
MaxTerm, CL_Segment, ShowroomRiskIndicator, Bureau, CST_Fraud |
Same |
External Lead Sources
|
v
data_external_leads (homechoice.axion)
- IDNumber
- Cellshort (last 9 digits)
- SmsLocation (shortcode)
- InsertDate
|
v (PostSql - AO channel only)
bloom_hcscore.Leadorigin
- Matched within 14-day window
- Match on IDNumber OR Cellshort
- Shortcode -> LeadOrigin mapping
| Shortcode |
Description |
LeadOrigin |
| NULL/empty |
Test |
4 |
| 30000-90000 |
TV |
2 |
| 99991 |
Gotbot |
1 |
| 99993 |
Facebook |
- |
| 99994 |
Internet |
3 |
| 99995 / 1000007 |
OCC |
5 |
| 99996 |
USSD |
6 |
| 99997 |
Abandoned Basket |
7 |
| 99998 |
WhatsApp |
10 |
| 100003 / 1000003 |
Credico |
14 |
| 1000005 |
Kwikbuy |
- |
| 1000009 |
InfoBip WhatsApp |
9 |
| 800000 |
Showroom |
- (scoring only, no lead) |
| Step |
Name |
Type |
Description |
| 0 |
HCSCORE |
API |
Entry - receives GUID |
| 10 |
HC_Prescore |
CALC |
Validation, country routing |
| 20 |
Table |
CALC |
Country code lookup |
| 30-60 |
Bureau |
SERVICE |
Experian SA/LES/NAM/ESW |
| 70 |
ScorecardSelection |
CALC |
Route to correct scorecard |
| 80-100 |
Scorecards |
SCORECARD |
Paying/NonPaying/ThinFile |
| 110-180 |
Post-score |
CALC |
Post-processing, limits |
| 190 |
DC_RecentScore |
CALC |
Duplicate check |
| 240 |
seg_limits |
SEGMENT |
Segment limit checks |
| Table |
Purpose |
| bloom_hcscoreao_payload |
Raw AO payloads |
| bloom_hcscorecr_payload |
Raw CR payloads |
| bloom_hcscorewa_payload |
Raw WA payloads |
| bloom_hcscore |
Normalized requests (all channels) |
| bloom_donormalenquiry |
Bureau response (CST flags) |
| data_scorestaging |
Scorecard output (score, strikethrough) |
| data_hcscore |
Score tracking |
| data_external_leads |
Lead source matching (AO only) |
| data_shortcode |
Shortcode -> Department/LeadOrigin mapping |
| data_showroom_risk |
Showroom risk classification (H/M/L) |
| Environment |
Server |
Database |
| Production |
HCAPI-LIVE (EC2 af-south-1) |
RDS 13.245.52.247 / hcapi.live |
| UAT |
aouat.technocore.co.za |
10.0.10.20 / hcapi.sim |
| Development |
10.0.10.65 (homechoice) |
10.0.10.20 / hcapi.sim |
| Simulation |
Local (Hyperion) |
Docker MariaDB / gekko |
| Change |
Status |
Deadline |
| New response fields (MaxTerm, CL_Segment, ShowroomRiskIndicator, Bureau, CST_Fraud) |
Deployed UAT |
HC testing |
| Shortcode 800000 passthrough fix |
PR created |
Awaiting merge |
| Showroom Risk Classification (64 showrooms) |
In progress |
26 Mar |
| SAFPS fraud check integration |
Workflow testing |
ASAP |
| AOUAT on Axion 7.0 |
Complete |
- |
| NTF Credit Limit changes |
Depends on Task 28 |
1 Apr |