#1093 — [Bug]: update card_type based on the bin list in transaction table

Repo: Twill-AI/facade State: open | Status: open Assignee: Ahmad1809

Created: 2026-03-05 · Updated: 2026-03-20

Description

Steps to reproduce

card_types in transaction table are inconsistent so we update them directly based ont heir account_first_6(bin code)

Expected behavior

we have card type equal to:

  • VS: VISA
  • MC: Mastercard
  • DS: DIscover
  • AM: Amex
  • other

This will be used in the calculation of current commission and other kpis.

Actual behavior

we have multiple card types.

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets