MAAL AI Decisioning API
Internal API for BNPL credit scoring, affordability checks, fraud screening, admin rescoring, and event-driven rescoring.
Decision Meaning
APPROVE: continue financing flow.MANUAL_REVIEW: stop auto-approval and hold for review.REJECT: stop financing flow.CRITICALfraud: block or hold the risky action.
Recommended Integration Flow
- Call
POST /v1/scoring/creditfor financing eligibility. -
Call
POST /v1/scoring/affordabilityif the product flow needs affordability confirmation. - Call
POST /v1/scoring/fraudbefore high-risk transactions. -
Use
GET /v1/users/{user_id}/scores/latestto render back-office or timeline views. - Use event endpoints for repayment-driven rescoring, not client polling.
What Frontend Should Show
- End users should see simple states such as approved, under review, or not eligible.
-
Admin tools can show
score_value,confidence,model_version, andfactors. - Do not surface raw fraud rules or calibrated risk details to end users.