A service-agnostic library for handling payment notifications