Understand the neobank architecture
The platform separates synchronous customer reads from asynchronous provider mutations. FastAPI authenticates and validates requests; PostgreSQL stores local policy and operation state; the worker performs provider writes from a transactional outbox; React tracks approval and completion.Process provider writes
The API persists an operation before any provider write. The worker commitssubmitting before money or authority submission. A definitive refusal becomes failed; a possible acceptance becomes indeterminate and is never retried.
Transfers and mandate creation first prepare a recipient grant, then enter requires_action. The browser opens only the exact trusted Perflo application origin. Approval polling verifies one unique active grant before payment or mandate activation.