Different offline payment architectures
Are there different types of offline payment architectures?
Absolutely. They differ in terms of how value is settled, and how often the wallets need to be synchronized.
The Bank for International Settlements (BIS) distinguishes these three levels:
- In a staged offline system, two parties can transact offline, but the receiver cannot re-spend those funds until after online settlement. This is called “staged” because an offline payment remains in a pending state in both wallets.
- This limitation is removed in an intermittently offline system, where a receiver can transact offline consecutively, that is, use funds that have been received offline for subsequent payments. To improve security, this is limited by risk parameters, requiring online verification after a certain number of transactions.
- Finally, in a fully offline system, value can circulate offline indefinitely without ever requiring an online connection.
For practical deployment, the intermittently offline model is considered the sweet spot, balancing cash-like usability with risk management.
But couldn’t offline payments lead to inconsistent balances?
In computer science, the CAP theorem states that a distributed system can guarantee only two of the following three properties at the same time: consistency, availability, and partition tolerance.
In an offline payment scenario, connectivity to the central system is temporarily unavailable. To ensure payments can continue, the system prioritizes availability by allowing transactions to be executed locally.
This implies that offline payments cannot guarantee consistency, which sounds more alarming than it actually is. When taking a photo with your phone while offline, your phone is technically in an “inconsistent” state compared to the cloud. But the next time the phone reconnects, the file is synchronized, restoring consistency.
This is exactly how it works in an intermittently offline payment system, where any inconsistencies can be resolved during online verification.
Double spending is often cited as the biggest challenge in offline payments. Why is it so difficult to solve?
In an online system, a central ledger immediately checks whether a digital unit has already been spent. Offline, that ledger cannot be contacted. So, how can we ensure that wallets don’t misbehave?
The reality is that there is no silver bullet. Instead, secure offline payment systems rely on multiple layers of protection to maintain an acceptable risk level while preserving a seamless user experience.