#297 — Facade API and persistence for getting Customers/Tokens/RecurringPlans
Repo: Twill-AI/facade State: open | Status: open Assignee: sparsh-twillpayments
Created: 2025-03-06 · Updated: 2025-09-15
Description
Request
Need to provide API-s to populate Virtual Terminal with data.
See:
- https://twillpayments.atlassian.net/wiki/spaces/TD/pages/249331714/Payments+PayEngine+data+location+evaluation for explanation
- https://www.figma.com/design/ZUrZatocX5Vs79IBNqzGke/Twill-UI?node-id=8735-34516&t=UivE85qgkQtAorag-4 for UI requirements for “in ui cache” customers (something like [id, name, email] subset of fields).
Acceptance criteria
- Facade have temporal persistence for Customers/Tokens/RecurringPlans updated lazily on first request or by “bdstate” API calls. Data is received by direct SQL calls to business data.
- Facade provides API-s for getting Customers/Tokens/RecurringPlans for “in ui cache” purposes.
- Logic above is covered with unit tests.
- https://twillpayments.atlassian.net/wiki/spaces/TD/pages/7929859/Facade+API is updated.
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets