getPayments

Fetches all offline payments from local storage. If the fetch is successful, the provided callback is called with the result - a list of OfflinePayment. In case of failure, an error message is provided.