| Entity | Payment state · illustrative PostgreSQL design PostgreSQL · Payment records |
|---|---|
| Processor confirmation Payment service | Source of truth confirmations |
| Order reference Payment service | Source of truth orders |
| Payment Payment service | Source of truth payments |
| Refund Payment service | Source of truth refunds |