+---------------------------------+-----------------------------------------------------------------+
| Investment Payment Processing |
+---------------------------------+
fail?
<Transaction creation is triggered> ─────────► CREATION_ERROR
──┬──
│
| success?
▼
INITIALIZE ──────► CANCELLED
│
|
▼
FAILED ◄────── IN PROGRESS ──────► CANCELLED
|
|
▼
RECEIVED ──────+
| |
| |────► SENT BACK PENDING ───► SENT BACK SETTLED
▼ |
SETTLED ──────+
Funding Status Transition Map