#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:str→floattotal_steps:str→intsteps_completed:str→intdisputes_count:str→intyear_to_date_settled_amount:str→intbusiness_company_annual_revenue:int→float
💳 Credit Card Fields:
cc_swiped_percent:int→floatcc_manually_keyed_cp_percent:int→floatcc_manually_keyed_cnp_percent:int→floatcc_ecommerce_percent:int→floatcc_total_monthly_sales:int→floatcc_present_percent:int→floatcc_not_present_percent:int→floatcc_internet_percent:int→floatcc_amex_monthly_card_sales:int→float
🏦 ACH Fields:
ach_total_annual_amount:str→floatach_avg_check_amount:str→floatach_max_check_amount:str→floatach_max_monthly_transaction_amount:str→floatach_min_monthly_transaction_amount:str→floatach_web_percent:int→floatach_telephone_percentage:int→floatach_ppd_percentage:int→floatach_ccd_percentage:int→float
🗓️ Date Field Update:
-
Removed:
aoi_dayaoi_monthaoi_year
-
Added:
-
aoi_date:datetime.date- Format expected
-
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets