The Rewards extension for Magento 2 extension allows you to set up such messages in your store’s header and the mini-cart popup.