Yes, you can get cash back from a Walmart Credit Card simply by making purchases with your card. This is the case for both the Walmart Credit Card and the Walmart® Store Card. The only difference between these two is that the Walmart® Store Card can only be used at Walmart stores, Walmart.com, Sam’s Club, and its associated gas stations. The Walmart Credit Card on the other hand can be used anywhere Mastercard is accepted.
More specifically, the Walmart Credit Card gives 5% cash back in Walmart stores using Walmart Pay for the first 12 months, 5% back on Walmart.com purchases, 2% back at Walmart stores and fuel stations, 2% back on restaurant and travel purchases, and 1% back on all other purchases.
With the Walmart® Store Card you get 5 points per $1 spent (5% back) in Walmart stores when you use Walmart Pay for the first 12 months, 5 points (5% back) on Walmart.com purchases, and 2 points (2% back) at Walmart stores, Walmart & Murphy USA Fuel Stations.
So, the best way to get Walmart Credit Card cash back is definitely to earn it by using your card for Walmart purchases.