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.
  • CRITICAL fraud: block or hold the risky action.

Recommended Integration Flow

  1. Call POST /v1/scoring/credit for financing eligibility.
  2. Call POST /v1/scoring/affordability if the product flow needs affordability confirmation.
  3. Call POST /v1/scoring/fraud before high-risk transactions.
  4. Use GET /v1/users/{user_id}/scores/latest to render back-office or timeline views.
  5. Use event endpoints for repayment-driven rescoring, not client polling.

What Frontend Should Show