#575 — Facade Update Merchant Response Handling to Align with Backend Changes

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

Created: 2025-09-11 · Updated: 2025-09-11

Description

Request

The backend structure for the merchant response will updated after merging ticket #491 . We need to update our handling accordingly to reflect the following changes in the data types and field structure:


🔄 Updated Field Types:

  • percentage_completed: strfloat
  • total_steps: strint
  • steps_completed: strint
  • disputes_count: strint
  • year_to_date_settled_amount: strint
  • business_company_annual_revenue: intfloat

💳 Credit Card Fields:

  • cc_swiped_percent: intfloat
  • cc_manually_keyed_cp_percent: intfloat
  • cc_manually_keyed_cnp_percent: intfloat
  • cc_ecommerce_percent: intfloat
  • cc_total_monthly_sales: intfloat
  • cc_present_percent: intfloat
  • cc_not_present_percent: intfloat
  • cc_internet_percent: intfloat
  • cc_amex_monthly_card_sales: intfloat

🏦 ACH Fields:

  • ach_total_annual_amount: strfloat
  • ach_avg_check_amount: strfloat
  • ach_max_check_amount: strfloat
  • ach_max_monthly_transaction_amount: strfloat
  • ach_min_monthly_transaction_amount: strfloat
  • ach_web_percent: intfloat
  • ach_telephone_percentage: intfloat
  • ach_ppd_percentage: intfloat
  • ach_ccd_percentage: intfloat

🗓️ Date Field Update:

  • Removed:

    • aoi_day
    • aoi_month
    • aoi_year
  • Added:

    • aoi_date: datetime.date

      • Format expected

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets